From c69d8c172aaae9ecb350813a3d0345922da0aace Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期四, 16 五月 2024 19:49:40 +0800
Subject: [PATCH] 修改优化

---
 phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 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 78b5317..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 = "/sms/send/verification/code")
-    Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
+    Result sendVerificationCode(@RequestBody SmsMassegeMqDto smsMassegeMqDto);
 
     /**
-     * 鍙戦�侀�氱煡鐭俊
-     * @param smsGeneralSendDto
+     * 鍙戦�侀�氱煡鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級
+     * @param smsMassegeMqDto
      * @return
      */
     @PostMapping(value = "/sms/send/notice")
-    Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
+    Result sendNoticeSms(@RequestBody SmsMassegeMqDto smsMassegeMqDto);
 
     /**
-     * 鍙戦�佽惀閿�鐭俊
-     * @param smsGeneralSendDto
+     * 鍙戦�佽惀閿�鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級
+     * @param smsMassegeMqDto
      * @return
      */
     @PostMapping(value = "/sms/send/marketing")
-    Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
+    Result sendMarketingSend(@RequestBody SmsMassegeMqDto smsMassegeMqDto);
 
 }

--
Gitblit v1.8.0