-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
萌新问下,这些代码是给服务端准备的吗? #212
Comments
weixin-popular 中提供的token 刷新仅适用于单例模式。多节点方式 token 应中心化处理,可以使用 redis 缓存。 api 接口应放在后台调用,传给前端调用会存在安全问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如token,120分钟有效期
看源码可提前设置为118或者119分钟刷新,获取新的token。
服务端需要重新封装这个token,自行写接口让客户端来拉取最新token?可以这么理解吗?
The text was updated successfully, but these errors were encountered: