From 6dde8c033a105f1fc32dc7f6a5fdf4d6900db07b Mon Sep 17 00:00:00 2001
From: 童刚 <pBP8jclM@8yTJ@4h>
Date: 星期五, 12 八月 2022 15:11:24 +0800
Subject: [PATCH] 11

---
 phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java b/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java
index a90e8cb..89eaeae 100644
--- a/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java
+++ b/phi-sms-feign/src/main/java/com/hz/sms/feign/FWXSendService.java
@@ -1,10 +1,9 @@
 package com.hz.sms.feign;
 
 import com.hx.resultTool.Result;
+
 import com.hz.sms.dto.ResponsesSendMessage;
 import com.hz.sms.dto.ResponsesWxSendMpDto;
-
-import com.hz.sms.dto.TemplateMessageDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -13,23 +12,15 @@
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="phi-sms-user",path = "/sms",contextId = "sys-send")
+@FeignClient(name="phi-sms-user",path = "/sms",contextId = "send-wx")
 public interface FWXSendService {
-
-    /**
-     * 鍙戦�佷紒涓氬井淇″簲鐢ㄦ秷鎭�
-     * @param templateMessageDto
-     * @return
-     */
-    @PostMapping(value = "/application/message")
-    Result sendNoticeSms(@RequestBody TemplateMessageDto templateMessageDto);
 
     /**
      * 寰俊灏忕▼搴忎笅鍙戠粺涓�娑堟伅   锛堝簾闄わ級
      * @param responsesSendMessage
      * @return
      */
-    @PostMapping(value = "/applet/message")
+    @PostMapping(value = "/wx/send/applet/message")
     Result sendAppletMessage(@RequestBody ResponsesSendMessage responsesSendMessage);
 
     /**
@@ -37,7 +28,7 @@
      * @param responsesSendMessage
      * @return
      */
-    @PostMapping(value = "/wechat/message")
+    @PostMapping(value = "/wx/send/wechat/message")
     Result sendWeChatMessage(@RequestBody ResponsesSendMessage responsesSendMessage);
 
     /**
@@ -45,6 +36,6 @@
      * @param responsesWxSendMpDto
      * @return
      */
-    @RequestMapping(value = "/mp/subscribe/message")
+    @RequestMapping(value = "/wx/send/mp/subscribe/message")
     Result sendMpMessage(@RequestBody ResponsesWxSendMpDto responsesWxSendMpDto);
 }

--
Gitblit v1.8.0