添加小程序配置和支付配置
This commit is contained in:
@@ -79,7 +79,7 @@ class WechatService
|
||||
protected function app(): Application
|
||||
{
|
||||
if ($this->app === null) {
|
||||
$config = (array) config('services.wechat.mini', []);
|
||||
$config = (array) site_config('wechatMini', []);
|
||||
if (empty($config['appid']) || empty($config['secret'])) {
|
||||
throw new RepositoryException('微信小程序尚未配置(WECHAT_MINI_APPID / WECHAT_MINI_SECRET)');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user