Update WechatService.php

This commit is contained in:
邹景立 2025-03-19 11:20:11 +08:00
parent d30d0f393b
commit 74ea4fdbc2

View File

@ -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;
}
/**