fix:warehouse_keeper
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user