|
...
|
...
|
@@ -119,7 +119,7 @@ class DeleteProductCategory extends Command |
|
|
|
}
|
|
|
|
}
|
|
|
|
//更新当前字段
|
|
|
|
$productModel->edit(['category_id'=>json_encode($category_id_arr)],['id'=>$v['id']]);
|
|
|
|
$productModel->edit(['category_id'=>','.json_encode($category_id_arr).','],['id'=>$v['id']]);
|
|
|
|
}
|
|
|
|
$page++;
|
|
|
|
}
|
...
|
...
|
|