Skip to content

Commit

Permalink
🐛 #2253 【企业微信】修复服务商模式通过授权码获取登录用户的信息返回”不合法的的suite_ticket参数“的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
akingzwk authored Aug 11, 2021
1 parent 72f3005 commit 24bde92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public WxTpLoginInfo getLoginInfo(String authCode) throws WxErrorException {
JsonObject jsonObject = new JsonObject();
jsonObject.addProperty("auth_code", authCode);
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);
}

Expand Down

0 comments on commit 24bde92

Please sign in to comment.