合并分支 'lyh-server' 到 'master'
gx 查看合并请求 !2214
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -91,6 +91,7 @@ class GeneratePage extends Command | @@ -91,6 +91,7 @@ class GeneratePage extends Command | ||
| 91 | public function getTaskId() | 91 | public function getTaskId() |
| 92 | { | 92 | { |
| 93 | $task_id = Redis::rpop('generate_page'); | 93 | $task_id = Redis::rpop('generate_page'); |
| 94 | + echo '任务id:'.$task_id.PHP_EOL; | ||
| 94 | if (empty($task_id)) { | 95 | if (empty($task_id)) { |
| 95 | $noticeModel = new NoticeLog(); | 96 | $noticeModel = new NoticeLog(); |
| 96 | $ids = $noticeModel->selectField(['status'=>0,'type'=>NoticeLog::GENERATE_PAGE],'id'); | 97 | $ids = $noticeModel->selectField(['status'=>0,'type'=>NoticeLog::GENERATE_PAGE],'id'); |
-
请 注册 或 登录 后发表评论