简要描述:
请求域名:
- http://xx.com
请求URL:
GET/plugin.universal-card.store.store-privilege-dis.get-log-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页数 |
id | 否 | string | 折扣id |
store_id | 否 | string | 门店id |
store_name | 否 | string | 门店名称 |
member_id | 否 | int | 会员id |
member_info | 否 | int | 会员信息 |
order_sn | 否 | int | 订单号 |
start_time | 否 | int | 起始时间 |
end_time | 否 | int | 结束时间 |
count | 否 | int | 统计,1统计,0不统计 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"list": {
"total": 4,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 4,
"data": [
{
"id": 4,
"store_id": 1,
"member_id": 1,
"privilege_title": "特权折扣",
"privilege_discount": "5.0",
"time": "2020-08-25 11:04:53",
"order_sn": null,
"price": null,
"store_thumb": "http://cc.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"store_name": "bc的门店",
"member_thumb": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"member_nickname": "Joe",
"member_level": "等级三"
},
{
"id": 3,
"store_id": 1,
"member_id": 1,
"privilege_title": "888",
"privilege_discount": "5.0",
"time": "2020-08-20 16:57:03",
"order_sn": null,
"price": null,
"store_thumb": "http://cc.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"store_name": "bc的门店",
"member_thumb": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"member_nickname": "Joe",
"member_level": "等级三"
},
{
"id": 2,
"store_id": 1,
"member_id": 1,
"privilege_title": "888",
"privilege_discount": "5.0",
"time": "2020-08-19 14:03:34",
"order_sn": null,
"price": null,
"store_thumb": "http://cc.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"store_name": "bc的门店",
"member_thumb": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"member_nickname": "Joe",
"member_level": "等级三"
},
{
"id": 1,
"store_id": 35,
"member_id": 17,
"privilege_title": "11",
"privilege_discount": "6.0",
"time": "2019-04-29 10:29:28",
"order_sn": null,
"price": null,
"store_thumb": "",
"store_name": null,
"member_thumb": "",
"member_nickname": "cc",
"member_level": "等级三"
}
]
},
"count": {
"all": 0,
"privilege": 170,
"total": 4
}
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
list | array | 列表数组 |
id | int | id |
time | string | 时间 |
order_sn | string | 订单号 |
store_id | int | 门店id |
store_name | int | 门店名称 |
store_thumb | int | 门店图片 |
member_id | int | 会员id |
member_thumb | int | 会员头像 |
member_nickname | int | 会员昵称 |
member_level | string | 会员等级 |
privilege_title | string | 活动标题 |
price | string | 订单金额 |
privilege_discount | string | 特权折扣 |
参数名 | 类型 | 说明 |
---|---|---|
count | array | 列表数组 |
all | int | 订单金额 |
privilege | string | 折扣金额 |
total | string | 订单数 |
备注:
- 更多返回错误代码请看首页的错误代码描述