-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
企业微信第三方服务 WxCpTpUserServiceImpl,在调用 getUserId
接口时缺少 access_token
#2799
Comments
欢迎直接PR代码进行修复 |
cococa
pushed a commit
to cococa/WxJava
that referenced
this issue
Oct 18, 2022
cococa
pushed a commit
to cococa/WxJava
that referenced
this issue
Oct 18, 2022
cococa
pushed a commit
to cococa/WxJava
that referenced
this issue
Oct 18, 2022
Merged
Merged
binarywang
pushed a commit
that referenced
this issue
Oct 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
简要描述
企业微信第三方服务 WxCpTpUserServiceImpl,在调用
getUserId
接口时,是需要传 cropAccessToken 的,但在项目代码中,并没有进行设置 access 的地方,导致无法正常调用 API.模块版本情况
详细描述
该接口的代码
https://github.com/Wechat-Group/WxJava/blob/develop/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service/impl/WxCpTpUserServiceImpl.java#L189
使用 WxJava 中的方法来调用:
会报错误:
手工调用
这样手工拼接 url 是可以成功的。
The text was updated successfully, but these errors were encountered: