作者 lyh

gx

... ... @@ -51,7 +51,7 @@ class GeneratePage extends Command
{
$noticeModel = new NoticeLog();
while (true){
$noticeInfo = $noticeModel->read(['status'=>0]);
$noticeInfo = $noticeModel->read(['status'=>0,'type'=>$noticeModel::GENERATE_PAGE]);
if (empty($noticeInfo)) {
sleep(10);
continue;
... ...