文档
测试

获取用户订单

POST
http://cartorder.qxmall.com/cartorder/order/allOrderList

接口描述

json传值,memberId必须有,status可为空,为空则默认是查询全部订单

请求参数

参数名
类型
描述
必填
memberId
int
示例:17
必填
status
int
【0->待付款;1->已完成未评价;2->付款评价完成】
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
object
数据字典
必填
48
object
数据字典
必填
status
int
示例:1
必填
orderItem
array
数据列表
必填
id
int
示例:33
必填
orderId
int
示例:48
必填
orderSn
string
示例:a89e3202012231514
必填
spuId
int
示例:11
必填
spuName
string
示例:华为 HUAWEI Mate 30 Pro
必填
spuPic
object
示例:null
必填
spuBrand
string
示例:华为
必填
categoryId
object
示例:null
必填
skuId
int
示例:2
必填
skuName
string
示例:华为Mate30 罗兰紫 8G+256G
必填
skuPic
string
示例:https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg
必填
price
int
示例:5678
必填
skuQuantity
int
示例:2
必填
49
object
数据字典
必填
status
int
示例:0
必填
orderItem
array
数据列表
必填
id
int
示例:35
必填
orderId
int
示例:49
必填
orderSn
string
示例:c52da202012231515
必填
spuId
int
示例:11
必填
spuName
string
示例:华为 HUAWEI Mate 30 Pro
必填
spuPic
object
示例:null
必填
spuBrand
string
示例:华为
必填
categoryId
object
示例:null
必填
skuId
int
示例:3
必填
skuName
string
示例:华为Mate30 罗兰紫 8G+256G
必填
skuPic
string
示例:https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg
必填
price
int
示例:5678
必填
skuQuantity
int
示例:2
必填

说明 / 示例

```json { "msg": "success", "code": 0, "data": { "48": { "status": 1, "orderItem": [ { "id": 33, "orderId": 48, "orderSn": "a89e3202012231514", "spuId": 11, "spuName": "华为 HUAWEI Mate 30 Pro", "spuPic": null, "spuBrand": "华为", "categoryId": null, "skuId": 2, "skuName": "华为Mate30 罗兰紫 8G+256G", "skuPic": "https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg", "price": 5678, "skuQuantity": 2 }, { "id": 34, "orderId": 48, "orderSn": "a89e3202012231514", "spuId": 11, "spuName": "华为 HUAWEI Mate 30 Pro", "spuPic": null, "spuBrand": "华为", "categoryId": null, "skuId": 8, "skuName": "华为Mate30 罗兰紫 8G+256G", "skuPic": "https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg", "price": 5678, "skuQuantity": 2 } ] }, "49": { "status": 0, "orderItem": [ { "id": 35, "orderId": 49, "orderSn": "c52da202012231515", "spuId": 11, "spuName": "华为 HUAWEI Mate 30 Pro", "spuPic": null, "spuBrand": "华为", "categoryId": null, "skuId": 3, "skuName": "华为Mate30 罗兰紫 8G+256G", "skuPic": "https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg", "price": 5678, "skuQuantity": 2 }, { "id": 36, "orderId": 49, "orderSn": "c52da202012231515", "spuId": 11, "spuName": "华为 HUAWEI Mate 30 Pro", "spuPic": null, "spuBrand": "华为", "categoryId": null, "skuId": 7, "skuName": "华为Mate30 罗兰紫 8G+256G", "skuPic": "https://gulimall-hello.oss-cn- beijing.aliyuncs.com/2019-11-26/60e65a44-f943-4ed5-87c8-8cf90f403018_d511faab82abb34b.jpg", "price": 5678, "skuQuantity": 2 } ] } } }