diff --git a/app/common/server/Wx.php b/app/common/server/Wx.php index db49cb1..9c21763 100755 --- a/app/common/server/Wx.php +++ b/app/common/server/Wx.php @@ -214,7 +214,7 @@ class Wx extends MyController public function get_access_token() { $redis = (new \app\common\server\RedisHelper())->getRedis(); - $redis_key = 'wx_access_token'; + $redis_key = 'wx_access_token:' . self::$wx_appid; $access_token_info = $redis->get($redis_key); if ($access_token_info) {