作者 竞泽

alter:去掉环境判断

@@ -37,9 +37,7 @@ class TopWarehouseServiceProvider extends ServiceProvider @@ -37,9 +37,7 @@ class TopWarehouseServiceProvider extends ServiceProvider
37 37
38 public function boot() 38 public function boot()
39 { 39 {
40 - if ($this->app instanceof Application && $this->app->runningInConsole()) {  
41 - $this->publishes([__DIR__ . '/../config/top-warehouse.php' => config_path('top-warehouse.php')]);  
42 - } 40 + $this->publishes([__DIR__ . '/../config/top-warehouse.php' => config_path('top-warehouse.php')]);
43 } 41 }
44 42
45 public function provides() 43 public function provides()