From 3a9cd89f0519a4e9c3607c29139547667c60533e Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 22 七月 2022 18:20:07 +0800 Subject: [PATCH] 新增获取公众号的token --- phis-feign/src/main/java/com/hz/his/dto/token/GetTokenDto.java | 2 ++ phis-feign/src/main/java/com/hz/his/feign/service/SWxTokenService.java | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/token/GetTokenDto.java b/phis-feign/src/main/java/com/hz/his/dto/token/GetTokenDto.java index 0623611..3303c5d 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/token/GetTokenDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/token/GetTokenDto.java @@ -9,5 +9,7 @@ private String corpId; /**灏忕▼搴廰ppid*/ private String mpId; + /**鍏紬鍙风殑appid*/ + private String weChatAppId; } diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SWxTokenService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SWxTokenService.java index 011b88c..9bbddcd 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SWxTokenService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SWxTokenService.java @@ -22,7 +22,7 @@ Result corpApplyToken(@RequestBody GetTokenDto getTokenDto); /** - *鑾峰彇灏忕▼搴忓钩鍙皌oken + *鑾峰彇灏忕▼搴忔櫘閫歵oken * 杞寲浣跨敤 WxTokenDt * @param getTokenDto 瀵硅薄 * @return @@ -31,4 +31,13 @@ Result mpToken(@RequestBody GetTokenDto getTokenDto); + /** + *鑾峰彇鍏紬鍙锋櫘閫歵oken + * 杞寲浣跨敤 WxTokenDt + * @param getTokenDto 瀵硅薄 + * @return + */ + @PostMapping(value = "/account_token/weChat/get_token") + Result weChatToken(@RequestBody GetTokenDto getTokenDto); + } \ No newline at end of file -- Gitblit v1.8.0