Skip to content

Commit 91d3cdf

Browse files
committed
移除配置检查
1 parent 8676215 commit 91d3cdf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ public function register()
7171
Alias::register();
7272
}
7373

74-
if (config('wechat') == include __DIR__ . '/config.php') {
75-
throw new \Exception("请先在config/wechat.php完成微信相关配置");
76-
}
77-
7874
$this->app->singleton(['Overtrue\\Wechat\\Server' => 'wechat.server'], function($app){
7975
return new WechatServer(config('wechat.app_id'), config('wechat.token'), config('wechat.encoding_key'));
8076
});

0 commit comments

Comments
 (0)