Skip to content
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

开放平台部分接口token问题 #1604

Closed
asiachen opened this issue Jun 4, 2020 · 13 comments
Closed

开放平台部分接口token问题 #1604

asiachen opened this issue Jun 4, 2020 · 13 comments
Assignees

Comments

@asiachen
Copy link

asiachen commented Jun 4, 2020

1.第三方开放平台,创建开放平台帐号并绑定公众号/小程序
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/account/create.html
文档中说access_token 是指授权公共号或小程序的access_token,
但是请求代码中拿的是第三方的componentAccessToken,
image
image
image
image

@binarywang
Copy link
Member

@007gzs 有空可以看下

@007gzs

This comment has been minimized.

@007gzs

This comment has been minimized.

@007gzs
Copy link
Member

007gzs commented Jun 4, 2020

刚看了下,这个函数是 @leeis#900 中增加的,确认下是微信接口改了还是当时写错了

@asiachen
Copy link
Author

asiachen commented Jun 5, 2020

image
这些接口的access_token都需要修改

@binarywang
Copy link
Member

既然确实有问题,就准备修复下,如果楼主方便的话,欢迎直接提供PR

@binarywang binarywang changed the title weixin-java-open 开放平台部分接口token问题 Jun 7, 2020
@asiachen
Copy link
Author

我已经修复了 具体怎么提交?

@asiachen
Copy link
Author

@binarywang @007gzs 非常好改 要不5分钟就能解决了,就把里面的方法放到小程序类中就ok了

@binarywang
Copy link
Member

@binarywang @007gzs 非常好改 要不5分钟就能解决了,就把里面的方法放到小程序类中就ok了

参考首页代码贡献指南,谢谢

@whhya
Copy link

whhya commented Jul 19, 2020

请问在3.8.5.b中是否已经修改 @binarywang @asiachen @007gzs

@binarywang
Copy link
Member

我已经修复了 具体怎么提交?

请问在3.8.5.b中是否已经修改 @binarywang @asiachen @007gzs

如果知道怎么改的话,欢迎直接提交PR,以便尽早发布修复版本

@whhya
Copy link

whhya commented Jul 20, 2020

我已经修复了 具体怎么提交?

请问在3.8.5.b中是否已经修改 @binarywang @asiachen @007gzs

如果知道怎么改的话,欢迎直接提交PR,以便尽早发布修复版本

已发起合并请求,麻烦发布修复版本

binarywang pushed a commit that referenced this issue Jul 21, 2020
* fix:修改微信开放平台帐号管理相关接口,使用指定appId的access_token,非开放平台自身的component_access_token
@binarywang
Copy link
Member

已合并,等待过几天发布新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants