12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- /*
- * This file is part of the Jiannei/lumen-api-starter.
- *
- * (c) Jiannei <longjian.huang@foxmail.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- namespace App\Console;
- use App\Console\Commands\Base\InitSettingCommand;
- use App\Console\Commands\Base\RemoveModuleCommand;
- use App\Console\Commands\BikeManage\CheckBikeViolationCommand;
- use App\Console\Commands\BikeManage\MqttCommand;
- use App\Console\Commands\Check\InitCheckCommand;
- use App\Console\Commands\HactcmCommand;
- use App\Console\Commands\InitPermissionsCommand;
- use App\Console\Commands\LoadlogsCommand;
- use App\Console\Commands\TestCommand;
- use Illuminate\Console\Scheduling\Schedule;
- use Laravel\Lumen\Console\Kernel as ConsoleKernel;
- class Kernel extends ConsoleKernel
- {
- /**
- * The Artisan commands provided by your application.
- *
- * @var array
- */
- protected $commands = [
- TestCommand::class,
- InitPermissionsCommand::class,
- InitSettingCommand::class,
- RemoveModuleCommand::class,
- HactcmCommand::class,
- LoadlogsCommand::class,
- ];
- /**
- * Define the application's command schedule.
- *
- * @param \Illuminate\Console\Scheduling\Schedule $schedule
- */
- protected function schedule(Schedule $schedule)
- {
- // $schedule->command(PositionOnlineCommand::class)->daily();
- // $schedule->command(CheckBikeViolationCommand::class)->daily();
- }
- }
|