ANDRU-PC\Andru
2023-07-10 0e7570525c92e6321b739da3d6fc513bdc96d6f3
phis-feign/src/main/java/com/hz/his/feign/service/platform/SWxTokenService.java
@@ -51,4 +51,28 @@
                       @RequestHeader(name = "sign",required = true) String sign,
                       @RequestHeader(name = "appIdCode",required = false) String appIdCode);
    /**
     *获取企业微信通讯录token
     * 转化使用 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);
    /**
     *获取企业微信联系我token
     * 转化使用 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);
}