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 749f1d1..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",contextId = "sms")
+@FeignClient(name="phi-sms-user", path = "/sms-mq",contextId = "sms")
 public interface FSmsImmediatelyService {
 
     /**
-     * 鍙戦�佺煭淇¢獙璇佺爜
-     * @param smsGeneralSendDto
+     * 鍙戦�佺煭淇¢獙璇佺爜锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級
+     * @param smsMassegeMqDto 娑堟伅浣�
      * @return
      */
-    @PostMapping(value = "/immediately/send/sms/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/sms/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/sms/marketing")
-    Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
+    @PostMapping(value = "/sms/send/marketing")
+    Result sendMarketingSend(@RequestBody SmsMassegeMqDto smsMassegeMqDto);
 
 }

--
Gitblit v1.8.0