From 28312a71a057f88180325241f236f2225b9b2339 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Mon, 15 Dec 2014 09:03:14 +0800 Subject: [PATCH] =?UTF-8?q?issue=20#54=20=E4=BC=81=E4=B8=9A=E5=8F=B7oauth2?= =?UTF-8?q?=E8=8E=B7=E5=BE=97=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AFurl?= =?UTF-8?q?=E6=8B=BC=E6=8E=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java index c83d4b55..2e0738c7 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java @@ -335,7 +335,7 @@ public class WxCpServiceImpl implements WxCpService { String url = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?"; url += "access_token=" + wxCpConfigStorage.getAccessToken(); url += "&code=" + code; - url += "agendid=" + wxCpConfigStorage.getAgentId(); + url += "&agendid=" + wxCpConfigStorage.getAgentId(); try { RequestExecutor executor = new SimpleGetRequestExecutor();