From 0707dc0f7ea1d37712df1614627538684474b623 Mon Sep 17 00:00:00 2001 From: 童刚 <pBP8jclM@8yTJ@4h> Date: 星期二, 09 八月 2022 10:36:30 +0800 Subject: [PATCH] 增加mq发送消息组名 常量属性 --- phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java b/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java index eb1f87a..a90e8cb 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java @@ -2,11 +2,13 @@ import com.hx.resultTool.Result; import com.hz.sms.dto.ResponsesSendMessage; -import com.hz.sms.dto.SmsGeneralSendDto; +import com.hz.sms.dto.ResponsesWxSendMpDto; + import com.hz.sms.dto.TemplateMessageDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� @@ -35,7 +37,14 @@ * @param responsesSendMessage * @return */ - @PostMapping(value = "/public/message") - Result sendPublicMessage(@RequestBody ResponsesSendMessage responsesSendMessage); + @PostMapping(value = "/wechat/message") + Result sendWeChatMessage(@RequestBody ResponsesSendMessage responsesSendMessage); + /** + * 寰俊灏忕▼搴忓彂閫佽闃呮秷鎭� + * @param responsesWxSendMpDto + * @return + */ + @RequestMapping(value = "/mp/subscribe/message") + Result sendMpMessage(@RequestBody ResponsesWxSendMpDto responsesWxSendMpDto); } -- Gitblit v1.8.0