Orl 短網址,供三星、福斯使用

Kernel.php 919B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace App\Console;
  3. use Illuminate\Console\Scheduling\Schedule;
  4. use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
  5. use App\Http\Controllers\Backend\EcManagement\ProductManagementController;
  6. use Redis;
  7. class Kernel extends ConsoleKernel
  8. {
  9. /**
  10. * The Artisan commands provided by your application.
  11. *
  12. * @var array
  13. */
  14. protected $commands = [
  15. // 腳本入口
  16. Commands\Lion::class,
  17. Commands\QRGen::class,
  18. ];
  19. /**
  20. * Define the application's command schedule.
  21. *
  22. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  23. *
  24. * @return void
  25. */
  26. protected function schedule(Schedule $schedule)
  27. {
  28. }
  29. /**
  30. * Register the Closure based commands for the application.
  31. *
  32. * @return void
  33. */
  34. protected function commands()
  35. {
  36. require base_path('routes/console.php');
  37. }
  38. }