简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.coupon-store.frontend.store-manage.examineList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
cstore_id | 是 | int | 商户ID |
coupon_member_kwd | 否 | string | 订单姓名/手机号 |
clerk_member_kwd | 否 | string | 核销员会员姓名/手机号 |
order_sn | 否 | string | 订单号 |
goods_name | 否 | string | 商品名 |
start_time | 否 | int | 开始时间戳(10位),需要2个时间戳都传才会生效 |
end_time | 否 | int | 结束时间戳(10位),需要2个时间戳都传才会生效 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"finish_time_str": "2022-06-28 10:31:40",
"order_goods": {
"title": "消费券商品20220623",
"thumb": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
"price": "99.00"
},
"member": {
"mobile": "1371110****",
"name": "13*******18"
},
"clerk": {
"uid": 164935,
"nickname": "13*******18",
"avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"avatar_image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"username": "13*******18"
},
"offline_price": 0,
"order_sn": "SN2206230928999FE7",
"coupon_sn": "CS477218FCAE06F",
"sum_count": 6,
"rest_count": 5
},
{
"finish_time_str": "2022-06-28 10:31:40",
"order_goods": {
"title": "消费券商品20220623",
"thumb": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
"price": "99.00"
},
"member": {
"mobile": "1371110****",
"name": "13*******18"
},
"clerk": {
"uid": 164935,
"nickname": "13*******18",
"avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"avatar_image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"username": "13*******18"
},
"offline_price": 0,
"order_sn": "SN2206230930BAADC9",
"coupon_sn": "CS47851801B19AC",
"sum_count": 6,
"rest_count": 0
}
],
"first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
finish_time_str | string | 核销时间 |
order_goods | object | 商品信息 |
member | object | 下单会员信息 |
clerk | object | 核销员信息 |
offline_price | float | 到店价 |
order_sn | string | 订单号 |
coupon_sn | string | 券号 |
sum_count | int | 总核销次数 |
rest_count | int | 剩余核销次数 |