文档
测试

餐位列表

POST
http://chaofen.zhongbochanghong.cn/addons/yun_shop/api.php?i=1&uuid=0&type=5&mid=1&version=v1.1.137&basic_info=1&validate_page=1&route=plugin.store-cashier.frontend.store.store-seat.seat-index

接口描述

餐位列表

请求参数

参数名
类型
描述
必填
store_id
int
门店id
必填
seat_type
int
餐位类型 0零点 1包间
必填

响应参数

参数名
类型
描述
必填
id
int
餐位id
必填
store_id
int
门店id
必填
name
string
餐位名称
必填
seat_sn
int
餐位编号
必填
num
int
可容纳人数
必填
reserve
int
当前状态 0可预约 1已预约 3用餐中
必填
type
int
类型 0零点 1包间
必填

说明 / 示例

```" result": 1, "msg": "成功", "data": [ { "id": 1, "uniacid": 1, "store_id": 1, "name": "01桌", "seat_sn": "0", "num": 4, "reserve": 0, "type": 0, "sort": 0, "created_at": 1657264464, "updated_at": 1657264464, "deleted_at": null }, { "id": 2, "uniacid": 1, "store_id": 1, "name": "02桌", "seat_sn": "02", "num": 4, "reserve": 1, "type": 0, "sort": 2, "created_at": 1657273733, "updated_at": 1657273733, "deleted_at": null } ], ```