fix:depot materialCategory

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-01-22 17:15:50 +08:00
parent 63c3574c5f
commit d231f343d3
5 changed files with 20 additions and 7 deletions

View File

@@ -67,9 +67,6 @@ class MaterialCategoryService extends BaseService{
$info->parent_id = $pid;
$info->city_id = (int)$this->request->input('city_id');
$info->kitchen_id = (int)$this->request->input('kitchen_id');
if (!$info->save()) throw new ErrException('修改失败');
return $this->return->success();