From 00041135b0a7f9092bf242f1a8f5cced19eb5aa9 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期日, 07 四月 2024 15:48:22 +0800 Subject: [PATCH] 1.新增crm自助预约接口和dto --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 58 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 004b18a..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,7 +70,16 @@ @RequestHeader(name = "appIdCode",required = false) String appIdCode); /** - *鑾峰彇浼佷笟寰俊淇℃伅token + *鑾峰彇鍏紬鍙锋櫘閫歵oken + * 杞寲浣跨敤 WxTokenDt + * @param getTokenDto 瀵硅薄 + * @return + */ + @PostMapping(value = "/account_token/weChat/get_token") + Result weChatToken(@RequestBody GetTokenDto getTokenDto); + + /** + *鑾峰彇浼佷笟寰俊閫氳褰晅oken * 杞寲浣跨敤 WxTokenDt * @param getTokenDto 瀵硅薄 * @return @@ -63,4 +90,34 @@ @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