|
...
|
...
|
@@ -65,6 +65,7 @@ class DeleteProductCategory extends Command |
|
|
|
$list = $noticeLogModel->list(['status'=>NoticeLog::STATUS_PENDING,'type'=>NoticeLog::DELETE_PRODUCT_CATEGORY],'id',['*'],'asc',100);
|
|
|
|
if(empty($list)){
|
|
|
|
sleep(100);
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
foreach ($list as $item){
|
|
|
|
echo 'start:' . $item['id'] . PHP_EOL;
|
...
|
...
|
|