zoujingli / WeChatDeveloper

【新】微信服务号+微信小程序+微信支付+支付宝支付
https://www.kancloud.cn/zoujingli/wechat-developer/content
MIT License
1.49k stars 444 forks source link

多台服务器部署项目,access_token 会有失效情况,因为缓存的是本地文件 #44

Closed chenyongze closed 4 years ago

zoujingli commented 4 years ago

ThinkPHP 配置缓存,绑定缓存,参考完 https://gitee.com/zoujingli/WeChatDeveloper/blob/master/_test/config.php------------------ 原始邮件 ------------------ 发件人: "Chen,Yongze"notifications@github.com 发送时间: 2020年5月18日(星期一) 下午4:46 收件人: "zoujingli/WeChatDeveloper"WeChatDeveloper@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: [zoujingli/WeChatDeveloper] 多台服务器部署项目,access_token 会有失效情况,因为缓存的是本地文件 (#44)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zoujingli commented 4 years ago

可以配置缓存方式,参照: https://gitee.com/zoujingli/WeChatDeveloper/blob/master/_test/config.php