<?php

namespace App\Console;

use App\Console\Book\BookSpiderAfter;
use App\Console\Book\SyncBooksFromZwContent;
use App\Console\Book\SyncChaptersFromZwContent;
use App\Console\Channel\ChannelDayStatistics;
use App\Console\Channel\RegisterChannel;
use App\Console\Channel\RegisterChannelUser;
use App\Console\DyReport\ResetSendOrderReportDataCommand;
use App\Console\DyReport\SendOrderDayStatsCommand;
use App\Console\DyReport\SendOrderRechargeDayStatsCommand;
use App\Console\Subscribe\BookOrderByDayCommand;
use App\Console\Sync\SyncBooks;
use App\Console\Sync\SyncChapters;
use App\Console\Test\ChangeUserChannelId;
use App\Console\Test\TestCache;
use App\Console\Test\TestOpenApi;
use App\Console\Test\TestSms;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    protected $commands = [
        Test\TestZfbTransFundCommand::class,
        Test\TestCommand::class,
        TestCache::class,
        TestOpenApi::class,
        TestSms::class,
        ChangeUserChannelId::class,
        TikTok\AccessTokenManage::class,
        TikTok\ClientTokenManage::class,
        Book\ReadRecordStatsCommand::class,
        Pay\TransFundCommand::class,
        Pay\RefundCommand::class,
        SyncChaptersFromZwContent::class,
        SyncBooksFromZwContent::class,
        BookSpiderAfter::class,
        SyncBooks::class,
        SyncChapters::class,
        BookOrderByDayCommand::class,
        ResetSendOrderReportDataCommand::class,
        RegisterChannelUser::class,
        SendOrderDayStatsCommand::class,
        SendOrderRechargeDayStatsCommand::class,
        RegisterChannel::class,
        ChannelDayStatistics::class,
    ];


    /**
     * Define the application's command schedule.
     *
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {

    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__ . '/Commands');

        require base_path('routes/console.php');
    }
}
