parent
166f53b365
commit
52b1d7e7d5
@ -0,0 +1,14 @@
|
||||
package com.taxi.apipassenger.remote;
|
||||
|
||||
import com.internal.dto.ResponseResult;
|
||||
import com.internal.request.VerificationCodeDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@FeignClient("service-passenger-user")
|
||||
public interface ServicePassengerUserClient {
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST,value = "/user")
|
||||
ResponseResult loginOrReg(@RequestBody VerificationCodeDTO verificationCodeDTO);
|
||||
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
package com.taxi.servicepassengeruser.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestController {
|
||||
|
||||
@GetMapping("/test")
|
||||
public String test(){
|
||||
|
||||
return "success";
|
||||
}
|
||||
}
|
Loading…
Reference in new issue