文档
测试

- 订单详情

GET
/shop/api/order/{orderId}

接口描述

响应参数解释参数【订单分页】

请求头

参数名
类型
描述
必填
Authorization
string
Bearer 967236b2-7209-4c7e-bf58-ff5aa8a33916
必填

请求参数

参数名
类型
描述
必填
orderId
number
订单ID
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
id
number
示例:1
必填
no
string
示例:282585121582743552
必填
userId
number
示例:1
必填
receiveAddressId
number
示例:2
必填
totalAmount
number
示例:1200
必填
actualAmount
number
示例:1200
必填
status
number
示例:3
必填
finished
number
示例:0
必填
payType
object
示例:null
必填
flowNo
string
示例:73e883b8-543b-470a-926f-c2a6f254ddad
必填
orderTime
string
示例:2020-02-19 18:52:23
必填
payTime
object
示例:null
必填
shipTime
object
示例:null
必填
closeTime
object
示例:null
必填
remark
object
示例:null
必填
createTime
string
示例:2020-02-19 18:52:23
必填
updateTime
string
示例:2020-02-19 23:52:57
必填
delFlag
number
示例:0
必填
itemList
array
数据列表
必填
id
number
示例:1
必填
orderId
number
示例:1
必填
goodsId
number
示例:1
必填
name
string
示例:开卡器1号
必填
img
string
示例:http://real-name-auth.oss-cn-beijing.aliyuncs.com/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202019-01-14%2023.56.37.png
必填
link
object
示例:null
必填
count
number
示例:2
必填
price
number
示例:200
必填
actualPrice
number
示例:200
必填
shipId
object
示例:null
必填
shipCount
number
示例:0
必填
itemStatus
number
示例:0
必填
createTime
string
示例:2020-02-19 18:52:23
必填
updateTime
string
示例:2020-02-19 18:52:23
必填
delFlag
number
示例:0
必填

说明 / 示例

```http GET /shop/api/order/1 HTTP/1.1 Host: localhost:9999 Authorization: Bearer 967236b2-7209-4c7e-bf58-ff5aa8a33916 ``` ```json { "code": 0, "msg": "操作成功", "data": { "id": 1, "no": "282585121582743552", "userId": 1, "receiveAddressId": 2, "totalAmount": 1200.000000, "actualAmount": 1200.000000, "status": 3, "finished": 0, "payType": null, "flowNo": "73e883b8-543b-470a-926f-c2a6f254ddad", "orderTime": "2020-02-19 18:52:23", "payTime": null, "shipTime": null, "closeTime": null, "remark": null, "createTime": "2020-02-19 18:52:23", "updateTime": "2020-02-19 23:52:57", "delFlag": 0, "itemList": [ { "id": 1, "orderId": 1, "goodsId": 1, "name": "开卡器1号", "img": "http://real-name-auth.oss-cn-beijing.aliyuncs.com/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202019-01-14%2023.56.37.png", "link": null, "count": 2, "price": 200.000000, "actualPrice": 200.000000, "shipId": null, "shipCount": 0, "itemStatus": 0, "createTime": "2020-02-19 18:52:23", "updateTime": "2020-02-19 18:52:23", "delFlag": 0 }, { "id": 2, "orderId": 1, "goodsId": 2, "name": "开卡器2号", "img": "http://real-name-auth.oss-cn-beijing.aliyuncs.com/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202019-01-14%2023.56.37.png", "link": null, "count": 2, "price": 400.000000, "actualPrice": 400.000000, "shipId": null, "shipCount": 0, "itemStatus": 0, "createTime": "2020-02-19 18:52:23", "updateTime": "2020-02-19 18:52:23", "delFlag": 0 }, { "id": 3, "orderId": 1, "goodsId": 3, "name": "开卡器3号", "img": "http://real-name-auth.oss-cn-beijing.aliyuncs.com/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202019-01-14%2023.56.37.png", "link": null, "count": 2, "price": 600.000000, "actualPrice": 600.000000, "shipId": null, "shipCount": 0, "itemStatus": 0, "createTime": "2020-02-19 18:52:23", "updateTime": "2020-02-19 18:52:23", "delFlag": 0 } ] } } ```