From 043b7cae4a6d8ab24d624c7ac737359931121a62 Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期三, 19 六月 2024 14:18:49 +0800 Subject: [PATCH] 切修丽可分支 --- phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java b/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java index 0e7122f..765037d 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.sms.dto.SmsGeneralSendDto; +import com.hz.sms.dto.mq.SmsMassegeMqDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -9,31 +10,31 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phi-sms-rocketmq", path = "/sms-mq",contextId = "sms") +@FeignClient(name="phi-sms-user", path = "/sms-mq",contextId = "sms") public interface FSmsImmediatelyService { /** - * 鍙戦�佺煭淇¢獙璇佺爜 - * @param smsGeneralSendDto + * 鍙戦�佺煭淇¢獙璇佺爜锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto 娑堟伅浣� * @return */ - @PostMapping(value = "/immediately/send/verification/code") - Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/verification/code") + Result sendVerificationCode(@RequestBody SmsMassegeMqDto smsMassegeMqDto); /** - * 鍙戦�侀�氱煡鐭俊 - * @param smsGeneralSendDto + * 鍙戦�侀�氱煡鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto * @return */ - @PostMapping(value = "/immediately/send/notice") - Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/notice") + Result sendNoticeSms(@RequestBody SmsMassegeMqDto smsMassegeMqDto); /** - * 鍙戦�佽惀閿�鐭俊 - * @param smsGeneralSendDto + * 鍙戦�佽惀閿�鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto * @return */ - @PostMapping(value = "/immediately/send/marketing") - Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/marketing") + Result sendMarketingSend(@RequestBody SmsMassegeMqDto smsMassegeMqDto); } -- Gitblit v1.8.0