|
|
@ -6,6 +6,7 @@ import com.epmet.dto.SysSmsDTO; |
|
|
|
import com.epmet.feign.fallback.MessageFeignClientFallback; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
@ -24,6 +25,6 @@ public interface MessageFeignClient { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@GetMapping(value = "message/sms/captcha/{mobile}") |
|
|
|
Result sendSmsCaptcha(String mobile); |
|
|
|
Result sendSmsCaptcha(@PathVariable("mobile") String mobile); |
|
|
|
|
|
|
|
} |