文档
测试

预约列表

POST
/api/appointment/lists

请求参数

参数名
类型
描述
必填
page
int
当前页
必填

响应参数

参数名
类型
描述
必填
data
object
分页预约
必填
current_page
int
当前页
必填
last_page
int
最后一页
必填
data
array
预约数据
必填
id
int
预约id
必填
name
string
联系人
必填
tel
string
联系电话
必填
time
string
预约时间
必填
store
object
预约店铺
必填
name
string
店铺名称
必填

说明 / 示例

{ "data": { "current_page": 1, "data": [ { "id": 2, "user_id": 1, "store_id": 1, "time": "2022-12-14", "name": "aaa", "tel": "1111", "created_at": "2022-07-21 16:55:22", "updated_at": "2022-07-21 16:55:22", "store": { "id": 1, "name": "测试", "tel": "15254265894", "address": "四川省南充市顺庆区五星花园", "is_default": 1, "longitude": "106.115942", "latitude": "30.792762", "ord": 0, "content": null, "img": "/images/1653029847114.jpg", "created_at": "2022-05-20 14:57:54", "updated_at": "2022-05-20 14:57:58", "deleted_at": null, "image": "/images/1653029854641.jpg", "service_time": "8:00-18:00", "remark": null, "instruction": null, "img_http": "http://127.0.0.77/images/1653029847114.jpg", "image_http": "http://127.0.0.77/images/1653029854641.jpg", "instruction_arr": [], "remark_txt": [] } }, { "id": 1, "user_id": 1, "store_id": 1, "time": "2022-12-14", "name": "aaa", "tel": "1111", "created_at": "2022-07-21 16:54:15", "updated_at": "2022-07-21 16:54:15", "store": { "id": 1, "name": "测试", "tel": "15254265894", "address": "四川省南充市顺庆区五星花园", "is_default": 1, "longitude": "106.115942", "latitude": "30.792762", "ord": 0, "content": null, "img": "/images/1653029847114.jpg", "created_at": "2022-05-20 14:57:54", "updated_at": "2022-05-20 14:57:58", "deleted_at": null, "image": "/images/1653029854641.jpg", "service_time": "8:00-18:00", "remark": null, "instruction": null, "img_http": "http://127.0.0.77/images/1653029847114.jpg", "image_http": "http://127.0.0.77/images/1653029854641.jpg", "instruction_arr": [], "remark_txt": [] } } ], "first_page_url": "http://127.0.0.77/api/appointment/lists?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.77/api/appointment/lists?page=1", "next_page_url": null, "path": "http://127.0.0.77/api/appointment/lists", "per_page": "3", "prev_page_url": null, "to": 2, "total": 2 } }