Skip to content

Commit 24bde92

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service/impl/BaseWxCpTpServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public WxTpLoginInfo getLoginInfo(String authCode) throws WxErrorException {
461461
JsonObject jsonObject = new JsonObject();
462462
jsonObject.addProperty("auth_code", authCode);
463463
String access_token = getWxCpProviderToken();
464-
String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO) + "?access_token=" + access_token, jsonObject.toString());
464+
String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO) + "?access_token=" + access_token, jsonObject.toString(), true);
465465
return WxTpLoginInfo.fromJson(responseText);
466466
}
467467

0 commit comments

Comments
 (0)