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

sandbox_signkey 过期 #675

Closed
skyred opened this issue May 1, 2017 · 0 comments
Closed

sandbox_signkey 过期 #675

skyred opened this issue May 1, 2017 · 0 comments

Comments

@skyred
Copy link
Contributor

skyred commented May 1, 2017

我用的环境

PHP 版本:7.1
overtrue/wechat 版本:aa3b0e0

问题及现象

现在的sandbox_signkey缓存没有设置有效期(微信文档也没有相关说明)。在经过一段时间测试后,我发现sandbox_signkey会过期(大概是3天时间),过期后请求返回的错误是:

验证签名失败, 请调用getsignkey生成沙箱密钥

解决方案:给sandbox_signkey缓存加一个2天的有效期。

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

1 participant