fix:warehouse_keeper
This commit is contained in:
@@ -66,9 +66,9 @@ class WarehouseService extends BaseService{
|
|||||||
if(!empty($kitchenId))
|
if(!empty($kitchenId))
|
||||||
$info->kitchen_id = $kitchenId;
|
$info->kitchen_id = $kitchenId;
|
||||||
} else {
|
} else {
|
||||||
throw new ErrException('设置厨师信息失败');
|
throw new ErrException('设置仓管信息失败');
|
||||||
}
|
}
|
||||||
if (!$info->save()) throw new ErrException('设置厨师信息失败');
|
if (!$info->save()) throw new ErrException('设置仓管信息失败');
|
||||||
|
|
||||||
return $this->return->success();
|
return $this->return->success();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -535,7 +535,7 @@ GET {{host}}/admin/warehouse_keeper/warehouse_keeper_list?limit=10&query_city_id
|
|||||||
content-type: application/json
|
content-type: application/json
|
||||||
Authorization: Bearer {{admin_token}}
|
Authorization: Bearer {{admin_token}}
|
||||||
|
|
||||||
### 设置仓管数据
|
### 设置仓管所在厨房
|
||||||
POST {{host}}/admin/warehouse_keeper/setting_warehouse_keeper
|
POST {{host}}/admin/warehouse_keeper/setting_warehouse_keeper
|
||||||
Content-Type: application/x-www-form-urlencoded
|
Content-Type: application/x-www-form-urlencoded
|
||||||
Authorization: Bearer {{admin_token}}
|
Authorization: Bearer {{admin_token}}
|
||||||
|
|||||||
Reference in New Issue
Block a user