Commit e2296e41 by jinxin

Merge remote-tracking branch 'origin/feature/获取用户敏感信息' into developer

parents 2c7af08a 74a74a18
......@@ -1800,7 +1800,10 @@ public class WxStaffController extends WebBaseController {
public HaobanResponse getAuthUrl() {
String suiteId = config.getWxSuiteid();
logger.info("通讯录应用ID:{}", suiteId);
String redictUrl = config.getHost() + "third-callback";
String host = config.getHost() + "third-callback";
//haoban-manage3-web 替换成 haoban-manage3-wx
String redictUrl = host.replaceAll("-web", "-wx");
logger.info("替换后的url:{}", redictUrl);
String authorizationUrl = qywxCorpApiService.getAuthorizationUrl(suiteId,redictUrl,"snsapi_privateinfo");
return resultResponse(HaoBanErrCode.ERR_1, authorizationUrl);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment