简要描述:

  • 预约记录

请求URL:

plugin.store-projects.pos.expect.expectLog

参数:

参数名 是否必须 类型 说明
start_time int 起始时间戳,需要和结束时间戳一起传才会生效
end_time int 结束时间戳,需要和起始时间戳一起传才会生效
member_kwd string 会员昵称/姓名/手机号
uid int 会员ID
project_name string 项目名称
status int 预约状态 0已预约 1已完成 -1已取消

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"current_page": 1,
		"data": [{
				"id": 4,
				"status": 0,
				"expect_set_id": 8,
				"project_id": 4,
				"store_id": 35,
				"day": 0,
				"created_at": "2024-04-02 17:37:58",
				"uid": 164976,
				"status_name": "已预约",
				"has_one_member": {
					"uid": 164976,
					"nickname": "17*******14",
					"avatar": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"mobile": "17665175714",
					"avatar_image": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"username": "17*******14"
				},
				"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": 0,
				"expect_set_id": 8,
				"project_id": 0,
				"store_id": 35,
				"day": 0,
				"created_at": "2024-04-02 17:36:16",
				"uid": 164976,
				"status_name": "已预约",
				"has_one_member": {
					"uid": 164976,
					"nickname": "17*******14",
					"avatar": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"mobile": "17665175714",
					"avatar_image": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"username": "17*******14"
				},
				"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": 0,
				"expect_set_id": 8,
				"project_id": 7,
				"store_id": 35,
				"day": 20240328,
				"created_at": "2024-03-27 17:32:54",
				"uid": 164976,
				"status_name": "已预约",
				"has_one_member": {
					"uid": 164976,
					"nickname": "17*******14",
					"avatar": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"mobile": "17665175714",
					"avatar_image": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/1\/2021\/12\/68a0a0cfdbaa5785ee764c1971887026.jpg",
					"username": "17*******14"
				},
				"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": 3,
		"total": 3
	}
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
id int 预约ID
created_at string 预约时的时间
day string 预约日期
has_one_expect_set.start_hour string 预约开始时间
has_one_expect_set.end_hour string 预约结束时间
status_name string 状态名称
has_one_project object 项目信息
has_one_member object 会员信息
has_one_store object 门店信息

备注:

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