fix:warehouse_keeper

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-12 17:28:17 +08:00
parent 0d6694a7c8
commit ac3b9a5692
2 changed files with 3 additions and 3 deletions

View File

@@ -66,9 +66,9 @@ class WarehouseService extends BaseService{
if(!empty($kitchenId))
$info->kitchen_id = $kitchenId;
} else {
throw new ErrException('设置厨师信息失败');
throw new ErrException('设置仓管信息失败');
}
if (!$info->save()) throw new ErrException('设置厨师信息失败');
if (!$info->save()) throw new ErrException('设置仓管信息失败');
return $this->return->success();
}