简要描述:

  • 预约记录

请求URL:

plugin.store-projects.frontend.expect.expectLog

参数:

参数名 是否必须 类型 说明
status int 0已预约 1已完成 -1已取消
store_name string 门店名称
project_name string 项目名称

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"current_page": 1,
		"data": [{
				"id": 5,
				"status": 0,
				"expect_set_id": 8,
				"project_id": 7,
				"store_id": 35,
				"day": 0,
				"created_at": "2024-04-07 11:35:38",
				"status_name": "已预约",
				"has_one_expect_set": {
					"id": 8,
					"start_hour": "07:00",
					"end_hour": "07:59"
				},
				"has_one_project": {
					"id": 7,
					"title": "日系松风美睫",
					"thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/ac19eccd3ab2ad1b5b09ad7e4271813d.png"
				},
				"has_one_store": {
					"id": 35,
					"store_name": "in-beauty皮肤管理中心",
					"full_address": " ",
					"dispatch": null,
					"average_score": 5,
					"order_total": 0,
					"validity_status_name": "入驻中"
				}
			},
			{
				"id": 4,
				"status": -1,
				"expect_set_id": 8,
				"project_id": 4,
				"store_id": 35,
				"day": 0,
				"created_at": "2024-04-02 17:37:58",
				"status_name": "已取消",
				"has_one_expect_set": {
					"id": 8,
					"start_hour": "07:00",
					"end_hour": "07:59"
				},
				"has_one_project": {
					"id": 4,
					"title": "美白补水",
					"thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/d6cf8f3727905142bdb21fa3243bd7f8.png"
				},
				"has_one_store": {
					"id": 35,
					"store_name": "in-beauty皮肤管理中心",
					"full_address": " ",
					"dispatch": null,
					"average_score": 5,
					"order_total": 0,
					"validity_status_name": "入驻中"
				}
			},
			{
				"id": 3,
				"status": -1,
				"expect_set_id": 8,
				"project_id": 0,
				"store_id": 35,
				"day": 0,
				"created_at": "2024-04-02 17:36:16",
				"status_name": "已取消",
				"has_one_expect_set": {
					"id": 8,
					"start_hour": "07:00",
					"end_hour": "07:59"
				},
				"has_one_project": null,
				"has_one_store": {
					"id": 35,
					"store_name": "in-beauty皮肤管理中心",
					"full_address": " ",
					"dispatch": null,
					"average_score": 5,
					"order_total": 0,
					"validity_status_name": "入驻中"
				}
			},
			{
				"id": 2,
				"status": -1,
				"expect_set_id": 8,
				"project_id": 7,
				"store_id": 35,
				"day": 20240328,
				"created_at": "2024-03-27 17:32:54",
				"status_name": "已取消",
				"has_one_expect_set": {
					"id": 8,
					"start_hour": "07:00",
					"end_hour": "07:59"
				},
				"has_one_project": {
					"id": 7,
					"title": "日系松风美睫",
					"thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/ac19eccd3ab2ad1b5b09ad7e4271813d.png"
				},
				"has_one_store": {
					"id": 35,
					"store_name": "in-beauty皮肤管理中心",
					"full_address": " ",
					"dispatch": null,
					"average_score": 5,
					"order_total": 0,
					"validity_status_name": "入驻中"
				}
			}
		],
		"first_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
		"from": 1,
		"last_page": 1,
		"last_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
		"next_page_url": null,
		"path": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php",
		"per_page": 15,
		"prev_page_url": null,
		"to": 4,
		"total": 4
	}
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
data[status_name] string 预约状态
data[day] string 预约日期
data[created_at] string 预约时的时间
data[has_one_expect_set].start_hour string 预约时段开始时间
data[has_one_expect_set].end_hour string 预约时段结束时间
data[has_one_project] object 项目信息
data[has_one_store] object 门店信息

备注:

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