简要描述:

  • 核销记录

请求URL:

plugin.store-projects.pos.project.checkLog

参数:

参数名 是否必须 类型 说明
uid int 顾客会员ID
verify_uid int 核销员会员ID
member_kwd string 顾客会员昵称、姓名、手机号
verify_member_kwd string 核销员会员昵称、姓名、手机号
project_name string 项目名称
start_time int 起始时间戳,需要和结束时间戳一起传才会生效
end_time int 结束时间戳,需要和起始时间戳一起传才会生效

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"current_page": 1,
		"data": [{
				"id": 13,
				"uniacid": 1,
				"uid": 164781,
				"order_id": 43,
				"store_id": 35,
				"verify_uid": 164784,
				"status": 1,
				"use_count": 1,
				"use_type": 0,
				"total_use_count": 1,
				"created_at": "2021-07-15 10:37:15",
				"updated_at": "2021-07-15 10:37:15",
				"deleted_at": null,
				"transfer_uid": 0,
				"has_one_customer": {
					"uid": 164781,
					"nickname": "18*******58",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "18*******58"
				},
				"has_one_verify": {
					"uid": 164784,
					"nickname": "木冉",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "木冉"
				},
				"has_one_order_project": {
					"id": 43,
					"order_id": 3139,
					"project_title": "日系松风美睫"
				}
			},
			{
				"id": 14,
				"uniacid": 1,
				"uid": 164781,
				"order_id": 57,
				"store_id": 35,
				"verify_uid": 164784,
				"status": 1,
				"use_count": 1,
				"use_type": 0,
				"total_use_count": 1,
				"created_at": "2021-07-15 15:38:31",
				"updated_at": "2021-07-15 15:38:31",
				"deleted_at": null,
				"transfer_uid": 0,
				"has_one_customer": {
					"uid": 164781,
					"nickname": "18*******58",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "18*******58"
				},
				"has_one_verify": {
					"uid": 164784,
					"nickname": "木冉",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "木冉"
				},
				"has_one_order_project": {
					"id": 57,
					"order_id": 3145,
					"project_title": "日系松风美睫"
				}
			},
			{
				"id": 34,
				"uniacid": 1,
				"uid": 164631,
				"order_id": 23,
				"store_id": 35,
				"verify_uid": 164784,
				"status": 1,
				"use_count": 1,
				"use_type": 0,
				"total_use_count": 1,
				"created_at": "2021-08-11 15:21:51",
				"updated_at": "2021-08-11 15:21:51",
				"deleted_at": null,
				"transfer_uid": 0,
				"has_one_customer": {
					"uid": 164631,
					"nickname": "治好了我多年的",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "治好了我多年的"
				},
				"has_one_verify": {
					"uid": 164784,
					"nickname": "木冉",
					"avatar_image": "https:\/\/dev8.yunzmall.com\/static\/upload\/image\/c48e42aee9696b75cbc41c4c0b5ad7c9.jpg",
					"username": "木冉"
				},
				"has_one_order_project": {
					"id": 23,
					"order_id": 3126,
					"project_title": "项目测试7"
				}
			}
		],
		"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
	}
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
has_one_customer object 顾客会员信息
has_one_verify object 核销员会员信息
use_count int 核销次数
has_one_order_project.project_name string 项目名称
created_at string 核销时间

备注:

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