作者 lyh

gx

... ... @@ -172,7 +172,6 @@ class UpdateRoute extends Command
while ($num > 0){
$list = $product->lists(['status'=>1],$num,1000);
foreach ($list['list'] as $k => $v){
echo date('Y-m-d H:i:s') . '产品id--1:'.$v['category_id'] . PHP_EOL;
if(empty($v['category_id'])){
continue;
}
... ...