From 5ed8aa196eda2e6be4ad8cc632693ec16c8565a6 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 18 八月 2022 20:14:41 +0800 Subject: [PATCH] 整改 --- phi-sms-feign/src/main/java/com/hz/sms/platform/FCorpWxImmediatelyService.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/platform/FCorpWxImmediatelyService.java b/phi-sms-feign/src/main/java/com/hz/sms/platform/FCorpWxImmediatelyService.java index 12df32b..b7d368c 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/platform/FCorpWxImmediatelyService.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/platform/FCorpWxImmediatelyService.java @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.sms.dto.TemplateMessageDto; +import com.hz.sms.dto.mq.CorpMessageMqDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -9,15 +10,15 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phi-sms-rocketmq", path = "/sms",contextId = "sms-corpwx") +@FeignClient(name="phi-sms-rocketmq", path = "/sms-mq",contextId = "sms-corpwx") public interface FCorpWxImmediatelyService { /** * 鍙戦�佷紒涓氬井淇″簲鐢ㄦ秷鎭� - * @param templateMessageDto + * @param corpMessageMqDto 娑堟伅浣� * @return */ - @PostMapping(value = "/immediately/send/corp-wx/application/message") - Result sendNoticeSms(@RequestBody TemplateMessageDto templateMessageDto); + @PostMapping(value = "/corp-wx/send/application/message") + Result sendNoticeSms(@RequestBody CorpMessageMqDto corpMessageMqDto); } -- Gitblit v1.8.0