Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

akingzwk
Copy link
Member

image
通过SDK和Postman中,获取的provider_access_token的值是一致的,通过SDK调用

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());
   return WxTpLoginInfo.fromJson(responseText);
 }

则会再post的时候返回”不合法的的suite_ticket参数“。

@binarywang binarywang merged commit 24bde92 into Wechat-Group:develop Aug 11, 2021
@binarywang binarywang added this to the 4.1.6 milestone Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants