| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phi-sms-rocketmq", path = "/sms",contextId = "sms-wx") |
| | | @FeignClient(name="phi-sms-rocketmq", path = "/sms-mq",contextId = "sms-wx") |
| | | public interface FWxImmediatelyService { |
| | | |
| | | /** |
| | |
| | | * @param responsesSendMessage |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/immediately/send/wechat/message") |
| | | @PostMapping(value = "/wx/send/wechat/issue/message") |
| | | Result sendWeChatMessage(@RequestBody ResponsesSendMessage responsesSendMessage); |
| | | |
| | | /** |
| | |
| | | * @param responsesWxSendMpDto |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/immediately/send/mp/message") |
| | | @RequestMapping(value = "/wx/send/mp/message") |
| | | Result sendMpMessage(@RequestBody ResponsesWxSendMpDto responsesWxSendMpDto); |
| | | |
| | | } |