|
...
|
...
|
@@ -95,7 +95,6 @@ class GeneratePage extends Command |
|
|
|
public function getTaskId()
|
|
|
|
{
|
|
|
|
$task_id = Redis::rpop('generate_page');
|
|
|
|
echo '任务id:'.$task_id.PHP_EOL;
|
|
|
|
if (empty($task_id)) {
|
|
|
|
$noticeModel = new NoticeLog();
|
|
|
|
$ids = $noticeModel->selectField(['status'=>0,'type'=>NoticeLog::GENERATE_PAGE,'start_at'=>['<=',date('Y-m-d H:i:s')]],'id');
|
...
|
...
|
|