We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public WxTpLoginInfo getLoginInfo(String authCode) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("auth_code", authCode); jsonObject.addProperty("access_token", configStorage.getAccessToken(authCode)); String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO), jsonObject.toString()); return WxTpLoginInfo.fromJson(responseText); }
jsonObject.addProperty("access_token", configStorage.getAccessToken(authCode)); 这行的获取令牌应该是 jsonObject.addProperty("access_token", configStorage.getProviderAccessToken());
The text was updated successfully, but these errors were encountered:
欢迎直接提交PR
Sorry, something went wrong.
🐛 #1969 【企业微信】修复第三方应用获取登录用户信息接口方法里的错误代码
c4a8796
No branches or pull requests
public WxTpLoginInfo getLoginInfo(String authCode) throws WxErrorException {
JsonObject jsonObject = new JsonObject();
jsonObject.addProperty("auth_code", authCode);
jsonObject.addProperty("access_token", configStorage.getAccessToken(authCode));
String responseText = post(configStorage.getApiUrl(GET_LOGIN_INFO), jsonObject.toString());
return WxTpLoginInfo.fromJson(responseText);
}
jsonObject.addProperty("access_token", configStorage.getAccessToken(authCode));
这行的获取令牌应该是
jsonObject.addProperty("access_token", configStorage.getProviderAccessToken());
The text was updated successfully, but these errors were encountered: