| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- namespace App\Module\DelayQueue\Console;
- use App\Module\Verify\File;
- use UCore\Console\Command;
- use UCore\Console\CommandSecond;
- use UCore\Helper\Logger;
- use UCore\Model\RequestLog;
- /**
- * 系统清理
- *
- */
- class DelayQueueRun extends CommandSecond
- {
- /**
- * 等待时间
- * @var int
- */
- protected $waitSecond = 3;
- /**
- * 间隔时长
- * @var int
- */
- protected $sleepSecond = 2;
- /**
- * The name and signature of the console command.
- *
- * @var string
- */
- protected $signature = 'app-delayqueue:run';
- /**
- * The console command description.
- *
- * @var string
- */
- protected $description = '延迟队列-执行模块';
- public function handleSecond($s)
- {
- Logger::info("");
- return true;
- }
- }
|