简要描述:

  • 会员项目列表

请求URL:

plugin.store-projects.pos.project.memberProject

参数:

参数名 是否必须 类型 说明
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": 183,
				"uniacid": 1,
				"uid": 164976,
				"order_id": 62964,
				"project_id": 12,
				"project_title": "小蛮腰",
				"project_thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/022a3d13f147354f572f011e22273610.png",
				"project_price": "50.00",
				"merchant_staff_commission": "0.00",
				"project_period": 365,
				"end_time": 1743648314,
				"total_count": 10,
				"used_count": 0,
				"rest_count": 10,
				"last_appointment_time": 0,
				"finish_time": 0,
				"status": 0,
				"created_at": "2024-04-03 10:45:14",
				"updated_at": "2024-04-03 10:45:14",
				"deleted_at": null,
				"love_bonus": "0.00",
				"order_type": 1,
				"check_type": 1,
				"expect_expire_time": "",
				"has_one_member": {
					"uid": 164976,
					"nickname": "17*******14",
					"realname": "",
					"mobile": "17665175714",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "17*******14"
				}
			},
			{
				"id": 182,
				"uniacid": 1,
				"uid": 164976,
				"order_id": 62964,
				"project_id": 7,
				"project_title": "日系松风美睫",
				"project_thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/ac19eccd3ab2ad1b5b09ad7e4271813d.png",
				"project_price": "50.00",
				"merchant_staff_commission": "0.00",
				"project_period": 360,
				"end_time": 1743216314,
				"total_count": 5,
				"used_count": 0,
				"rest_count": 5,
				"last_appointment_time": 0,
				"finish_time": 0,
				"status": 0,
				"created_at": "2024-04-03 10:45:14",
				"updated_at": "2024-04-03 10:45:14",
				"deleted_at": null,
				"love_bonus": "0.00",
				"order_type": 1,
				"check_type": 1,
				"expect_expire_time": "",
				"has_one_member": {
					"uid": 164976,
					"nickname": "17*******14",
					"realname": "",
					"mobile": "17665175714",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "17*******14"
				}
			}
		],
		"first_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
		"from": 1,
		"last_page": 23,
		"last_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=23",
		"next_page_url": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php?page=2",
		"path": "https:\/\/dev8.yunzmall.com\/addons\/yun_shop\/api.php",
		"per_page": 2,
		"prev_page_url": null,
		"to": 2,
		"total": 45
	}
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
id int 会员项目ID
created_at string 购买时间
project_title string 项目名称
status string 0待核销 1已完成
rest_count string 剩余次数
has_one_member object 会员信息

备注:

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