Skip to content

Conversation

akingzwk
Copy link

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 binarywang: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.

2 participants