From 2ad87f3346ee406c57275a57bcccb0beef4e2800 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期二, 16 八月 2022 18:06:51 +0800
Subject: [PATCH] 整改

---
 phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java b/phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java
index 8e5e10e..88b0f8e 100644
--- a/phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java
+++ b/phi-sms-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java
@@ -2,16 +2,14 @@
 
 import com.hx.resultTool.Result;
 import com.hz.sms.dto.SmsGeneralSendDto;
-import com.hz.sms.dto.SmsSendDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.ResponseBody;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="phi-sms-user",path = "/sms",contextId = "sms-send")
+@FeignClient(name="phi-sms-user",path = "/sms",contextId = "send-sms")
 public interface FSmsSendService {
 
     /**
@@ -19,7 +17,7 @@
      * @param smsGeneralSendDto
      * @return
      */
-    @PostMapping(value = "/send/verification/code")
+    @PostMapping(value = "/send-general/item/send/verification/code")
     Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
 
     /**
@@ -27,7 +25,7 @@
      * @param smsGeneralSendDto
      * @return
      */
-    @PostMapping(value = "/send/inform")
+    @PostMapping(value = "/send-general/item/send/inform")
     Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
 
     /**
@@ -35,7 +33,7 @@
      * @param smsGeneralSendDto
      * @return
      */
-    @PostMapping(value = "/send/marketing")
+    @PostMapping(value = "/send-general/item/send/marketing")
     Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto);
 
 }

--
Gitblit v1.8.0