正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -119,7 +119,7 @@ class DeleteProductCategory extends Command | @@ -119,7 +119,7 @@ class DeleteProductCategory extends Command | ||
| 119 | } | 119 | } |
| 120 | } | 120 | } |
| 121 | //更新当前字段 | 121 | //更新当前字段 |
| 122 | - $productModel->edit(['category_id'=>json_encode($category_id_arr)],['id'=>$v['id']]); | 122 | + $productModel->edit(['category_id'=>','.json_encode($category_id_arr).','],['id'=>$v['id']]); |
| 123 | } | 123 | } |
| 124 | $page++; | 124 | $page++; |
| 125 | } | 125 | } |
-
请 注册 或 登录 后发表评论