作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !188
@@ -307,7 +307,7 @@ class ProjectUpdate extends Command @@ -307,7 +307,7 @@ class ProjectUpdate extends Command
307 if ($item['category'] ?? []) { 307 if ($item['category'] ?? []) {
308 $category_arr = $category_model->list(['original_id' => ['in', array_column($item['category'], 'id')]]); 308 $category_arr = $category_model->list(['original_id' => ['in', array_column($item['category'], 'id')]]);
309 $category_id = $logic->getLastCategory(array_column($category_arr, 'id')); 309 $category_id = $logic->getLastCategory(array_column($category_arr, 'id'));
310 - $model->edit(['category_id', $category_id], ['id' => $product['id']]); 310 + $model->edit(['category_id'=> $category_id], ['id' => $product['id']]);
311 } 311 }
312 } 312 }
313 } 313 }