From 74ea4fdbc20fa6fb7e75713996709a9375a90cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 19 Mar 2025 11:20:11 +0800 Subject: [PATCH] Update WechatService.php --- plugin/think-plugs-wechat/src/service/WechatService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/think-plugs-wechat/src/service/WechatService.php b/plugin/think-plugs-wechat/src/service/WechatService.php index 77dd6a267..1316bf889 100644 --- a/plugin/think-plugs-wechat/src/service/WechatService.php +++ b/plugin/think-plugs-wechat/src/service/WechatService.php @@ -191,7 +191,7 @@ class WechatService extends Service 'encodingaeskey' => sysconf('wechat.encodingaeskey'), 'cache_path' => syspath('runtime/wechat'), ]; - return $ispay ? $config : static::withWxpayCert($config); + return $ispay ? static::withWxpayCert($config) : $config; } /**