作者 竞泽

fix:reg command

@@ -25,6 +25,10 @@ class TiktokShopProvider extends ServiceProvider @@ -25,6 +25,10 @@ class TiktokShopProvider extends ServiceProvider
25 $this->publishes([ 25 $this->publishes([
26 $configPath => config_path('tiktok.shop.php') 26 $configPath => config_path('tiktok.shop.php')
27 ], 'lackoxygen-tiktok-shop'); 27 ], 'lackoxygen-tiktok-shop');
  28 +
  29 + if ($this->app->runningInConsole()) {
  30 + $this->commands($this->commands);
  31 + }
28 } 32 }
29 33
30 /** 34 /**