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

企业微信里cache name不应该是appid #366

Open
ataraxia82 opened this issue Jun 13, 2019 · 0 comments
Open

企业微信里cache name不应该是appid #366

ataraxia82 opened this issue Jun 13, 2019 · 0 comments

Comments

@ataraxia82
Copy link

$authname = 'qywechat_access_token' . $appid;

因为企业微信会有多个应用需要缓存access_token
而appid 是企业微信的appid 是唯一的
应该使用appsecret 或者 appid+agentid

$authname = 'qywechat_access_token' . $appsecret;

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