123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace App\Console;
- use App\Console\Commands\ClearCacheCommand;
- use App\Console\Commands\ClearUserCommand;
- use App\Console\Commands\CodeCommand;
- use App\Console\Commands\ContractCommand;
- use App\Console\Commands\CouponCommand;
- use App\Console\Commands\GetCommand;
- use App\Console\Commands\OrderAffirm;
- use App\Console\Commands\OrderAutoExpressl;
- use App\Console\Commands\OrderFinish;
- use App\Console\Commands\OrderRepeal;
- use App\Console\Commands\PlatformGoods;
- use App\Console\Commands\ProvinceCodeCommand;
- use App\Console\Commands\ReturnOrderCommand;
- use App\Console\Commands\SendCommand;
- use App\Console\Commands\ShareShop;
- use App\Console\Commands\ShopPerformance;
- use App\Console\Commands\TestCommand;
- use Illuminate\Console\Scheduling\Schedule;
- use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
- class Kernel extends ConsoleKernel
- {
- /**
- * The Artisan commands provided by your application.
- *
- * @var array
- */
- protected $commands = [
- //
- TestCommand::class,
- ContractCommand::class,
- SendCommand::class,
- GetCommand::class
- ];
- /**
- * Define the application's command schedule.
- *
- * @param \Illuminate\Console\Scheduling\Schedule $schedule
- * @return void
- */
- protected function schedule(Schedule $schedule)
- {
- // $schedule->command('inspire')
- // ->hourly();
- }
- /**
- * Register the commands for the application.
- *
- * @return void
- */
- protected function commands()
- {
- $this->load(__DIR__.'/Commands');
- require base_path('routes/console.php');
- }
- }
|