简要描述:

  • 预约面板

请求URL:

plugin.store-projects.pos.expect.expectList

参数:

参数名 是否必须 类型 说明
day string 日期,默认当天,格式如20240402

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": [{
			"id": 1,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "00:00",
			"end_hour": "00:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 0,
			"end_time": 3599,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"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
		},
		{
			"id": 20,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "19:00",
			"end_hour": "19:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 68400,
			"end_time": 71999,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		},
		{
			"id": 21,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "20:00",
			"end_hour": "20:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 72000,
			"end_time": 75599,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		},
		{
			"id": 22,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "21:00",
			"end_hour": "21:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 75600,
			"end_time": 79199,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		},
		{
			"id": 23,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "22:00",
			"end_hour": "22:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 79200,
			"end_time": 82799,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		},
		{
			"id": 24,
			"uniacid": 1,
			"store_id": 35,
			"start_hour": "23:00",
			"end_hour": "23:59",
			"show_start_hour": "",
			"show_end_hour": "",
			"start_time": 82800,
			"end_time": 86399,
			"expect_num": 0,
			"status": 0,
			"created_at": "2024-03-26 17:57:34",
			"updated_at": "2024-03-26 17:57:34",
			"deleted_at": null,
			"expect_count": 0
		}
	]
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
data[start_hour] string 开始工作时间,只能为整点,比如01:00
data[end_hour] string 结束工作时间,只能为59分,比如16:59
data[status] int 是否可预约时段 1是 0否,这个值只判断时段,不判断人数是否已满
data[expect_num] int 可预约人数
data[expect_count] int 已预约人数

备注:

  • 更多返回错误代码请看首页的错误代码描述