From 9c4136e91780475f6e1eda2e19a4277c772bb5b2 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 24 Oct 2023 15:12:16 +0800 Subject: [PATCH] 1 --- extend/Wechat/Wechat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/extend/Wechat/Wechat.php b/extend/Wechat/Wechat.php index 5b46485..4889b8e 100644 --- a/extend/Wechat/Wechat.php +++ b/extend/Wechat/Wechat.php @@ -63,6 +63,7 @@ class Wechat $config = array( "app_id" => $appId, "secret" => $appSecret, + "use_stable_access_token" => true, "http" => [ 'throw' => false, // 状态码非 200、300 时是否抛出异常,默认为开启 'timeout' => 5.0,