Skip to content

Commit 1e5e098

Browse files
committed
issue #92 A bug in me.chanjar.weixin.mp.api.WxMpServiceImpl.java at line 449
1 parent 3ae057a commit 1e5e098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/WxMpServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public WxMpUser oauth2getUserInfo(WxMpOAuth2AccessToken oAuth2AccessToken, Strin
435435
@Override
436436
public boolean oauth2validateAccessToken(WxMpOAuth2AccessToken oAuth2AccessToken) {
437437
String url = "https://api.weixin.qq.com/sns/auth?";
438-
url += "access_token=" + oAuth2AccessToken;
438+
url += "access_token=" + oAuth2AccessToken.getAccessToken();
439439
url += "&openid=" + oAuth2AccessToken.getOpenId();
440440

441441
try {

0 commit comments

Comments
 (0)