简要描述:
- 预约时间列表
请求URL:
plugin.store-projects.frontend.expect.expectTimeList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
plugin_order_id | 是 | int | 会员项目ID |
store_id | 是 | int | 门店ID |
day | 否 | int | 日期,如20240407,不传默认当天 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": [{
"id": 2,
"uniacid": 1,
"store_id": 35,
"start_hour": "01:00",
"end_hour": "01:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 3600,
"end_time": 7199,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 3,
"uniacid": 1,
"store_id": 35,
"start_hour": "02:00",
"end_hour": "02:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 7200,
"end_time": 10799,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 4,
"uniacid": 1,
"store_id": 35,
"start_hour": "03:00",
"end_hour": "03:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 10800,
"end_time": 14399,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 5,
"uniacid": 1,
"store_id": 35,
"start_hour": "04:00",
"end_hour": "04:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 14400,
"end_time": 17999,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 6,
"uniacid": 1,
"store_id": 35,
"start_hour": "05:00",
"end_hour": "05:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 18000,
"end_time": 21599,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 7,
"uniacid": 1,
"store_id": 35,
"start_hour": "06:00",
"end_hour": "06:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 21600,
"end_time": 25199,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 8,
"uniacid": 1,
"store_id": 35,
"start_hour": "07:00",
"end_hour": "07:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 25200,
"end_time": 28799,
"expect_num": 30,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 0
},
{
"id": 9,
"uniacid": 1,
"store_id": 35,
"start_hour": "08:00",
"end_hour": "08:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 28800,
"end_time": 32399,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 10,
"uniacid": 1,
"store_id": 35,
"start_hour": "09:00",
"end_hour": "09:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 32400,
"end_time": 35999,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 11,
"uniacid": 1,
"store_id": 35,
"start_hour": "10:00",
"end_hour": "10:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 36000,
"end_time": 39599,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 12,
"uniacid": 1,
"store_id": 35,
"start_hour": "11:00",
"end_hour": "11:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 39600,
"end_time": 43199,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 13,
"uniacid": 1,
"store_id": 35,
"start_hour": "12:00",
"end_hour": "12:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 43200,
"end_time": 46799,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 14,
"uniacid": 1,
"store_id": 35,
"start_hour": "13:00",
"end_hour": "13:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 46800,
"end_time": 50399,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 15,
"uniacid": 1,
"store_id": 35,
"start_hour": "14:00",
"end_hour": "14:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 50400,
"end_time": 53999,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 16,
"uniacid": 1,
"store_id": 35,
"start_hour": "15:00",
"end_hour": "15:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 54000,
"end_time": 57599,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 17,
"uniacid": 1,
"store_id": 35,
"start_hour": "16:00",
"end_hour": "16:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 57600,
"end_time": 61199,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 18,
"uniacid": 1,
"store_id": 35,
"start_hour": "17:00",
"end_hour": "17:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 61200,
"end_time": 64799,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
},
{
"id": 19,
"uniacid": 1,
"store_id": 35,
"start_hour": "18:00",
"end_hour": "18:59",
"show_start_hour": "",
"show_end_hour": "",
"start_time": 64800,
"end_time": 68399,
"expect_num": 0,
"status": 1,
"created_at": "2024-03-26 17:57:34",
"updated_at": "2024-03-27 09:44:56",
"deleted_at": null,
"expect_count": 0,
"is_full": 1
}
]
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data[id] | int | 预约时段ID |
data[start_hour] | string | 时间段开始时间 |
data[end_hour] | string | 时间段结束时间 |
data[expect_num] | int | 时间段可预约数量 |
data[expect_count] | int | 时间段已预约数量 |
data[is_full] | int | 是否已经约满 1是 0否 |
备注:
- 更多返回错误代码请看首页的错误代码描述