From f151ca60f31ebe71a609d902e6c6922cd1021eef Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 22 八月 2022 22:18:13 +0800 Subject: [PATCH] 优化 --- phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 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 89eaeae..b401899 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,8 +2,8 @@ import com.hx.resultTool.Result; -import com.hz.sms.dto.ResponsesSendMessage; -import com.hz.sms.dto.ResponsesWxSendMpDto; +import com.hz.sms.dto.WeCatMessageDto; +import com.hz.sms.dto.MpMessageDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -17,25 +17,25 @@ /** * 寰俊灏忕▼搴忎笅鍙戠粺涓�娑堟伅 锛堝簾闄わ級 - * @param responsesSendMessage - * @return + * @param weCatMessageDto + * @return SendResultDto杞寲鎺ユ敹 */ @PostMapping(value = "/wx/send/applet/message") - Result sendAppletMessage(@RequestBody ResponsesSendMessage responsesSendMessage); + Result sendAppletMessage(@RequestBody WeCatMessageDto weCatMessageDto); /** * 寰俊鍏紬鍙蜂笅鍙戠粺涓�娑堟伅 - * @param responsesSendMessage - * @return + * @param weCatMessageDto + * @return SendResultDto杞寲鎺ユ敹 */ @PostMapping(value = "/wx/send/wechat/message") - Result sendWeChatMessage(@RequestBody ResponsesSendMessage responsesSendMessage); + Result sendWeChatMessage(@RequestBody WeCatMessageDto weCatMessageDto); /** * 寰俊灏忕▼搴忓彂閫佽闃呮秷鎭� - * @param responsesWxSendMpDto - * @return + * @param mpMessageDto + * @return SendResultDto杞寲鎺ユ敹 */ @RequestMapping(value = "/wx/send/mp/subscribe/message") - Result sendMpMessage(@RequestBody ResponsesWxSendMpDto responsesWxSendMpDto); + Result sendMpMessage(@RequestBody MpMessageDto mpMessageDto); } -- Gitblit v1.8.0