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的地址能否更新一下 #105

Closed
scpzc opened this issue Nov 10, 2023 · 7 comments
Closed

获取token的地址能否更新一下 #105

scpzc opened this issue Nov 10, 2023 · 7 comments

Comments

@scpzc
Copy link

scpzc commented Nov 10, 2023

现在包里面的是旧的地址 https://api.weixin.qq.com/cgi-bin/token 这个地址每天获取次数多了就报错 wechat server error: code[45009] msg[reach max api daily quota limit, could get access_token by getStableAccessToken, more details at https://mmbizurl.cn/s/JtxxFh33r rid: 654e20fe-255cb46d-7fc880f7] 麻烦更新成这个呢 https://api.weixin.qq.com/cgi-bin/stable_token

@scpzc
Copy link
Author

scpzc commented Nov 10, 2023

@royalrick
Copy link
Owner

好的,我新增加一个接口

@royalrick
Copy link
Owner

之前的接口需要自行缓存;

@royalrick
Copy link
Owner

已经在 3.8 中增加了这些功能

@scpzc
Copy link
Author

scpzc commented Nov 13, 2023

已经在 3.8 中增加了这些功能

看到了,多谢。但是有个问题,像这样的接口sdk.GenerateURLScheme 怎么方便直接切换成使用stableAccessToken呢?还是要自定义获取token,再传进去吗?

@royalrick
Copy link
Owner

royalrick commented Nov 13, 2023

很久没关注小程序了,看了下文档,意思是现在可以统一用 stable acess token 替换之前的唯一 access token 了对吧?如果是这样的话我就全部切换到 stable acess token

@royalrick
Copy link
Owner

已经更新

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

No branches or pull requests

2 participants