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

【小程序】获取稳定版接口调用凭据 #2998

Closed
FreeOfYou opened this issue Apr 29, 2023 · 2 comments · Fixed by #3004
Closed

【小程序】获取稳定版接口调用凭据 #2998

FreeOfYou opened this issue Apr 29, 2023 · 2 comments · Fixed by #3004
Milestone

Comments

@FreeOfYou
Copy link

由于不同环境使用的是同一个appid,所以在刷新AccessToken时,会有不同环境频繁刷新的问题,所以建议提供新的稳定版的接口调用凭据

官方文档地址

@FreeOfYou
Copy link
Author

目前我的解决方案是,重写了 cn.binarywang.wx.miniapp.api.impl.WxMaServiceOkHttpImpl#doGetAccessTokenRequest 方法

@binarywang
Copy link
Owner

欢迎提交PR代码

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

Successfully merging a pull request may close this issue.

2 participants