parent
3bf5fb19dd
commit
6070c0e9c6
@ -0,0 +1,15 @@
|
|||||||
|
package com.taxi.apidriver.remote;
|
||||||
|
|
||||||
|
import com.internal.dto.ResponseResult;
|
||||||
|
import com.internal.response.NumberResponse;
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
|
||||||
|
@FeignClient("service-verificationcode")
|
||||||
|
public interface ServiceVerificationcodeClient {
|
||||||
|
|
||||||
|
@RequestMapping(method = RequestMethod.GET,value = "/numberCode/{size}")
|
||||||
|
ResponseResult<NumberResponse> getVerificationCode(@PathVariable("size") int size);
|
||||||
|
}
|
Loading…
Reference in new issue