🐛 #2253 【企业微信】修复服务商模式通过授权码获取登录用户的信息返回”不合法的的suite_ticket参数“的错误

This commit is contained in:
akingzwk 2021-08-11 09:47:34 +08:00 committed by GitHub
parent 72f3005ac6
commit 24bde9298c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,7 +461,7 @@ public abstract class BaseWxCpTpServiceImpl<H, P> implements WxCpTpService, Requ
JsonObject jsonObject = new JsonObject(); JsonObject jsonObject = new JsonObject();
jsonObject.addProperty("auth_code", authCode); jsonObject.addProperty("auth_code", authCode);
String access_token = getWxCpProviderToken(); String access_token = getWxCpProviderToken();
String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO) + "?access_token=" + access_token, jsonObject.toString()); String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO) + "?access_token=" + access_token, jsonObject.toString(), true);
return WxTpLoginInfo.fromJson(responseText); return WxTpLoginInfo.fromJson(responseText);
} }