From 9cc2d65eab73e7f14d335ebdf7ef6765b54e0957 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期二, 14 十一月 2023 14:30:35 +0800
Subject: [PATCH] 用户科室修改Dto

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 1 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java
index 7c1ff53..4a08b02 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java
@@ -11,7 +11,7 @@
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  * url :鎸囧畾鍦板潃(token缁熶竴鎷跨嚎涓�,鎵�浠ラ渶瑕佹寚瀹�)
  */
-@FeignClient(name="phi-platfrom-service",url = "https://phiapi.phiskin.com",path = "/phip",contextId = "phip-token")
+@FeignClient(name="phi-platform-service",url = "https://phiapi.phiskin.com",path = "/phip",contextId = "phip-token")
 public interface SWxTokenService {
 
     /**
@@ -27,6 +27,15 @@
                           @RequestHeader(name = "appIdCode",required = false) String appIdCode);
 
     /**
+     *鑾峰彇灏忕▼搴忎紒涓氬井淇″簲鐢╰oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/apply/get_token")
+    Result corpApplyToken(@RequestBody GetTokenDto getTokenDto);
+
+    /**
      *鑾峰彇灏忕▼搴忔櫘閫歵oken
      * 杞寲浣跨敤 WxTokenDt
      * @param getTokenDto 瀵硅薄
@@ -37,6 +46,15 @@
                    @RequestHeader(name = "appId",required = true) String appId,
                    @RequestHeader(name = "sign",required = true) String sign,
                    @RequestHeader(name = "appIdCode",required = false) String appIdCode);
+
+    /**
+     *鑾峰彇灏忕▼搴忔櫘閫歵oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/mp/get_token")
+    Result mpToken(@RequestBody GetTokenDto getTokenDto);
 
 
     /**
@@ -51,4 +69,55 @@
                        @RequestHeader(name = "sign",required = true) String sign,
                        @RequestHeader(name = "appIdCode",required = false) String appIdCode);
 
+    /**
+     *鑾峰彇鍏紬鍙锋櫘閫歵oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/weChat/get_token")
+    Result weChatToken(@RequestBody GetTokenDto getTokenDto);
+
+    /**
+     *鑾峰彇浼佷笟寰俊閫氳褰晅oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/communi/get_token")
+    Result corpCommonToken(@RequestBody GetTokenDto getTokenDto,
+                           @RequestHeader(name = "appId",required = true) String appId,
+                           @RequestHeader(name = "sign",required = true) String sign,
+                           @RequestHeader(name = "appIdCode",required = false) String appIdCode);
+
+    /**
+     *鑾峰彇浼佷笟寰俊閫氳褰晅oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/communi/get_token")
+    Result corpCommonToken(@RequestBody GetTokenDto getTokenDto);
+
+    /**
+     *鑾峰彇浼佷笟寰俊鑱旂郴鎴憈oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/contact/get_token")
+    Result corpContactToken(@RequestBody GetTokenDto getTokenDto,
+                           @RequestHeader(name = "appId",required = true) String appId,
+                           @RequestHeader(name = "sign",required = true) String sign,
+                           @RequestHeader(name = "appIdCode",required = false) String appIdCode);
+
+    /**
+     *鑾峰彇浼佷笟寰俊鑱旂郴鎴憈oken
+     * 杞寲浣跨敤 WxTokenDt
+     * @param getTokenDto 瀵硅薄
+     * @return
+     */
+    @PostMapping(value = "/account_token/contact/get_token")
+    Result corpContactToken(@RequestBody GetTokenDto getTokenDto);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0