修改微信支付

This commit is contained in:
youda 2025-04-16 19:47:34 +08:00
parent 203a23db85
commit aa030e770d

View File

@ -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) {