From 29810c209d3c5c6f05360729a181f425313f9c1d Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期四, 27 七月 2023 10:44:52 +0800
Subject: [PATCH] 获取token方法新增

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 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 8cdec51..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
@@ -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);
 
 
     /**
@@ -52,6 +70,15 @@
                        @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 瀵硅薄
@@ -64,6 +91,15 @@
                            @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 瀵硅薄
@@ -75,4 +111,13 @@
                            @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