Authored by sunjiexiang

增加历史订单列表接口文档说明

... ... @@ -12,6 +12,7 @@
|[获取YOHO赠品](#7-yoho)||
|[购物车列表](#8)||
|[获取待处理订单总数](#9)||
|[历史订单列表](#10)||
... ... @@ -487,3 +488,92 @@
}
}
```
### 10、历史订单列表
#### 说明
获取历史订单列表
#### 请求参数
| Param Name | Param Type | Required | Param Value | Desc |
| :-- | --: | --: | --: | --: |
| method | string | true | app.SpaceOrders.history| 请求方法 不可变 |
| uid | int | true | 1 | |
| page | int | false | 1 | 页数 |
| limit | int | false | 10 | 每页大小 |
#### 响应内容
```json
{
"code": 200,
"data":
{
"list":
[
{
"brands":
[
{
"brandName": "BURANDO ENO",
"brandNameCn": "",
"brandNameEn": "BURANDO ENO",
"id": 519,
"saleType": 1,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1448610631,
"id": 25,
"shopsId": 35,
"shopsName": "BURANDO ENO",
"shopsType": 1,
"status": 0,
"updateTime": 1449036789
},
{
"brands":
[
{
"brandDomain": "jnby",
"brandName": "JNBY",
"brandNameCn": "",
"brandNameEn": "JNBY",
"id": 1026,
"saleType": 1,
"status": 1
}
],
"checkStatus": 100,
"createTime": 1445850968,
"id": 26,
"shopsId": 20,
"shopsName": "JNBY",
"shopsType": 1,
"status": 0,
"updateTime": 1456886841
}
],
"page": 1,
"size": 10,
"total": 2,
"totalPage": 1
},
"message": "ok"
}
```
##### 响应内容描述
| Param Name | Param Type | Desc |
| ---------- | ---------- | ---- |
| page | int | 当前页数 |
| total_page | int | 总页数 |
| total | int | 总记录数 |
| list | json | 订单列表 |
| order_code | string |订单编号 |
| order_time | string |下单时间 |
| amount | string | 订单金额 |
| payment | string | 支付方式 |
| goodsData | string | 订单商品 |
\ No newline at end of file
... ...