作者 lyh

gx

@@ -52,7 +52,7 @@ class GeneratePage extends Command @@ -52,7 +52,7 @@ class GeneratePage extends Command
52 $noticeModel = new NoticeLog(); 52 $noticeModel = new NoticeLog();
53 while (true){ 53 while (true){
54 $task_id = $this->getTaskId(); 54 $task_id = $this->getTaskId();
55 - if (empty($noticeInfo)) { 55 + if (empty($task_id)) {
56 sleep(10); 56 sleep(10);
57 continue; 57 continue;
58 } 58 }