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