Kernel.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. namespace App\Console;
  3. use App\Console\Book\BookSpiderAfter;
  4. use App\Console\Book\SyncBooksFromZwContent;
  5. use App\Console\Book\SyncChaptersFromZwContent;
  6. use App\Console\Channel\ChannelDayStatistics;
  7. use App\Console\Channel\RegisterChannel;
  8. use App\Console\Channel\RegisterChannelUser;
  9. use App\Console\DyReport\ResetSendOrderReportDataCommand;
  10. use App\Console\DyReport\SendOrderDayStatsCommand;
  11. use App\Console\DyReport\SendOrderRechargeDayStatsCommand;
  12. use App\Console\Subscribe\BookOrderByDayCommand;
  13. use App\Console\Sync\SyncBooks;
  14. use App\Console\Sync\SyncChapters;
  15. use App\Console\Test\ChangeUserChannelId;
  16. use App\Console\Test\TestCache;
  17. use App\Console\Test\TestOpenApi;
  18. use App\Console\Test\TestSms;
  19. use Illuminate\Console\Scheduling\Schedule;
  20. use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
  21. class Kernel extends ConsoleKernel
  22. {
  23. protected $commands = [
  24. Test\TestZfbTransFundCommand::class,
  25. Test\TestCommand::class,
  26. TestCache::class,
  27. TestOpenApi::class,
  28. TestSms::class,
  29. ChangeUserChannelId::class,
  30. TikTok\AccessTokenManage::class,
  31. TikTok\ClientTokenManage::class,
  32. Book\ReadRecordStatsCommand::class,
  33. Pay\TransFundCommand::class,
  34. Pay\RefundCommand::class,
  35. SyncChaptersFromZwContent::class,
  36. SyncBooksFromZwContent::class,
  37. BookSpiderAfter::class,
  38. SyncBooks::class,
  39. SyncChapters::class,
  40. BookOrderByDayCommand::class,
  41. ResetSendOrderReportDataCommand::class,
  42. RegisterChannelUser::class,
  43. SendOrderDayStatsCommand::class,
  44. SendOrderRechargeDayStatsCommand::class,
  45. RegisterChannel::class,
  46. ChannelDayStatistics::class,
  47. ];
  48. /**
  49. * Define the application's command schedule.
  50. *
  51. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  52. * @return void
  53. */
  54. protected function schedule(Schedule $schedule)
  55. {
  56. }
  57. /**
  58. * Register the commands for the application.
  59. *
  60. * @return void
  61. */
  62. protected function commands()
  63. {
  64. $this->load(__DIR__ . '/Commands');
  65. require base_path('routes/console.php');
  66. }
  67. }