文档
测试

查询订单详情

GET
http://cartorder.qxmall.com/cartorder/order/orderItemList/{orderId}

接口描述

路径拼接一个订单id就可以了,orderId

请求参数

参数名
类型
描述
必填
orderId
Long
订单id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
items
array
订单项
必填
id
int
示例:1
必填
orderId
int
示例:7
必填
orderSn
string
示例:8a1f1202012230924
必填
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
必填
order
object
订单详情
必填
id
int
示例:7
必填
memberId
int
示例:17
必填
orderSn
string
示例:8a1f1202012230924
必填
createTime
string
示例:2020-12-23 01:24:53
必填
memberUsername
string
示例:RiKa0-0
必填
totalAmount
int
示例:25826
必填
payAmount
int
示例:25826
必填
payType
int
示例:1
必填
status
int
示例:3
必填
integration
int
示例:10
必填
receiverName
string
示例:等什么君
必填
receiverPhone
string
示例:18155269336
必填
receiverDetailAddress
string
示例:广州市海珠区
必填
paymentTime
object
示例:null
必填

说明 / 示例

```json { "msg": "success", "code": 0, "items": [ { "id": 1, "orderId": 7, "orderSn": "8a1f1202012230924", "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": 2, "orderId": 7, "orderSn": "8a1f1202012230924", "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 } ], "order": { "id": 7, "memberId": 17, "orderSn": "8a1f1202012230924", "createTime": "2020-12-23 01:24:53", "memberUsername": "RiKa0-0", "totalAmount": 25826, "payAmount": 25826, "payType": 1, "status": 3, "integration": 10, "receiverName": "等什么君", "receiverPhone": "18155269336", "receiverDetailAddress": "广州市海珠区", "paymentTime": null } }