简要描述:
- 兑换明细
请求域名:
- http://xx.com
请求URL:
POST/plugin.collection-center.frontend.controllers.record.exchange-record
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
status | 是 | int | -1=已退款,1待发货,2待签收,3已签收 (不传显示全部) |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"record_list": {
"current_page": 1,
"data": [
{
"order_id": 69,
"goods_name": "测试1-藏品1-1",
"goods_id": 112,
"total": 2,
"member_id": 2,
"status": 1,
"status_name": "待发货",
"order_address": {
"address": "广东省 广州市 白云区 xzcxzcxzcxzc"
},
"member": {
"uid": 2,
"nickname": "刘备",
"avatar_image": "http://yzhonshop.com/static/upload/image/4d9f2c71100ace0b46a11bc5dbb0327d.jpg",
"username": "刘备"
},
"goods": {
"id": 112,
"thumb": "https://img0.baidu.com/it/u=1937665916,307154246&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=333",
"status_name": null
}
}
],
"first_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://yzhonshop.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
record_list.goods_name | string | 藏品名称 |
record_list.member_id | string | 会员id |
record_list.order_id | int | 兑换id |
record_list.total | int | 数量 |
record_list.goods.thumb | string | 图片 |
record_list.member.nickname | string | 会员昵称 |
record_list.order_address.address | string | 收货地址 |
record_list.status_name | string | 状态 |
备注:
- 更多返回错误代码请看首页的错误代码描述