Visitar URL original
:bug: 修复企业微信服务商模式通过授权码获取登录用户的信息时,返回”不合法的的suite_ticket参数“的错误 by akingzwk · Pull Request #2253 · binarywang/WxJava · GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
🐛 修复企业微信服务商模式通过授权码获取登录用户的信息时,返回”不合法的的suite_ticket参数“的错误
  • Loading branch information
akingzwk
akingzwk committed Aug 11, 2021
commit a5617a810a6b80d99dccddf8fce2e48e7495b6e8
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