parent
dfc379dd12
commit
5798c47346
@ -0,0 +1,16 @@
|
||||
package com.mashibing.apipassenger.remote;
|
||||
|
||||
import com.mashibing.internalcommon.dto.ResponseResult;
|
||||
import com.mashibing.internalcommon.request.VerificationCodeDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@FeignClient("service-passenger-user")
|
||||
@Service
|
||||
public interface ServicePassengerUserCLient {
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST,value = "/user")
|
||||
public ResponseResult loginOrRegister(@RequestBody VerificationCodeDTO verificationCodeDTO);
|
||||
|
||||
}
|
Loading…
Reference in new issue