|
...
|
...
|
@@ -105,6 +105,7 @@ class DeleteProductCategory extends Command |
|
|
|
foreach ($productList as $v){
|
|
|
|
$categoryRelatedModel = new CategoryRelated();
|
|
|
|
if(empty($v['category_id'])){
|
|
|
|
echo json_encode($v);
|
|
|
|
$categoryRelatedModel->del(['product_id'=>$v['id']]);
|
|
|
|
continue;
|
|
|
|
}
|
...
|
...
|
|