phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java
@@ -15,26 +15,11 @@ public interface FSmsSendService { /** * 发送短信 * @return Result */ @PostMapping(value = "/sms/send") Result sendSms(@RequestBody SmsSendDto smsSendDto); /** * * @param smsSendDto * @return */ @PostMapping(value = "/sms/identicalSend") Result sendIdenticalsend(@RequestBody SmsSendDto smsSendDto); /** * 发送短信验证码 * @param smsGeneralSendDto * @return */ @PostMapping(value = "/verification/code") @PostMapping(value = "/send/verification/code") Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto); /** @@ -42,7 +27,7 @@ * @param smsGeneralSendDto * @return */ @PostMapping(value = "/inform/sms") @PostMapping(value = "/send/inform") Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto); /** @@ -50,7 +35,7 @@ * @param smsGeneralSendDto * @return */ @PostMapping(value = "/marketing/sms") @PostMapping(value = "/send/marketing") Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto); } phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java
File was renamed from phi-sms-feign/src/main/java/com/hz/sms/feign/FSysSendService.java @@ -11,8 +11,8 @@ /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="phi-sms-user",path = "/sys",contextId = "sys-send") public interface FSysSendService { @FeignClient(name="phi-sms-user",path = "/sms",contextId = "sys-send") public interface FWXSendService { /** * 发送企业微信应用消息 @@ -23,7 +23,7 @@ Result sendNoticeSms(@RequestBody TemplateMessageDto templateMessageDto); /** * 微信小程序下发统一消息 * 微信小程序下发统一消息 (废除) * @param responsesSendMessage * @return */