parent
02b7b10477
commit
0feb760919
@ -0,0 +1,18 @@
|
||||
package com.mashibing.apipassenger.remote;
|
||||
|
||||
import com.mashibing.internalcommon.dto.ResponseResult;
|
||||
import com.mashibing.internalcommon.response.NumberCodeResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
@FeignClient("service-verificationcode")
|
||||
@Service
|
||||
public interface ServiceVerificationcodeClient {
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET,value = "/numberCode/{size}")
|
||||
ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size") Integer size);
|
||||
|
||||
}
|
Loading…
Reference in new issue