简要描述:
- 核销列表
请求URL:
GET/plugin.store-projects.frontend.project-service.get-list
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| page | 是 | int | 页码 |
| owner_type | 是 | int | 数据类型,0-普通会员,1-核销员,2-门店 |
| project_name | 否 | string | 项目名 |
| store_name | 否 | string | 门店名 |
| start_date | 否 | string | 开始日期,YYYY-mm-dd |
| end_date | 否 | string | 结束日期,YYYY-mm-dd |
| verify_kwd | 否 | string | 核销员关键词 |
| use_type | 否 | int | 使用类型,0-全部,1-核销使用,2-转赠-转出 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uid": 2662,
"order_id": 1,
"store_id": 13,
"verify_uid": 2662,
"used_count": 1,
"created_at": "2021-06-24 13:34:08",
"store_name": "嗷嗷的",
"use_type_desc":"核销使用",
"use_type_h5": 2,
"project_title": "测试项目2",
"project_thumb": "https://localhost:82/attachment/images/2/2019/08/fv8mhb830HBd8d803zduMqSSHS88qu.png",
"total_count": 20,
"total_rest_count": 20,
"worker_nickname": "",
"transfer_nickname": "15000000001",
"member_nickname": ""
}
],
"first_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:82/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost:82/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
错误时返回:
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 项目订单ID |
| created_at | string | 核销时间 |
| store_name | string | 门店名称 |
| use_type_desc | string | 使用方式描述 |
| use_type_h5 | string | 使用方式,1-核销使用,2-转赠-转出,9-超时 |
| project_title | string | 项目名称 |
| project_thumb | string | 缩略图 |
| total_count | int | 总次数 |
| used_count | int | 核销使用次数 |
| total_rest_count | int | 未使用数量 |
| member_nickname | string | 会员昵称 |
| worker_nickname | string | 核销员昵称 |
| transfer_nickname | string | 转让会员昵称 |
| amount | float | 收益 |
备注:
- 更多返回错误代码请看首页的错误代码描述