diff --git a/app/Service/Admin/System/WarehouseService.php b/app/Service/Admin/System/WarehouseService.php index 5800ed3..f9863d4 100644 --- a/app/Service/Admin/System/WarehouseService.php +++ b/app/Service/Admin/System/WarehouseService.php @@ -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(); } diff --git a/sync/http/admin/auth.http b/sync/http/admin/auth.http index bfa7f7a..1925073 100644 --- a/sync/http/admin/auth.http +++ b/sync/http/admin/auth.http @@ -535,7 +535,7 @@ GET {{host}}/admin/warehouse_keeper/warehouse_keeper_list?limit=10&query_city_id content-type: application/json Authorization: Bearer {{admin_token}} -### 设置仓管数据 +### 设置仓管所在厨房 POST {{host}}/admin/warehouse_keeper/setting_warehouse_keeper Content-Type: application/x-www-form-urlencoded Authorization: Bearer {{admin_token}}