On this page
查看订单详情
接口功能
查看订单详情
URL
支持格式
JSON
HTTP请求方式
GET
header头
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
token | true | String | token |
请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
id | true | int | 订单id |
接口示例
json5
{
"msg": "ok",
"data": {
"id": 124,
"no": "20191214165943467042",
"user_id": 3,
"address": {
"id": 2,
"user_id": 3,
"province": "天津市",
"city": "市辖区",
"district": "和平区",
"address": "阅江西路222号广州塔",
"zip": 0,
"name": "靓仔哈",
"phone": "13564568789",
"last_used_time": 1576313983,
"create_time": "1970-01-01 08:32:50",
"update_time": "2019-12-14 16:59:43"
},
"total_price": "0.50",
"remark": "",
"paid_time": null,
"payment_method": null,
"payment_no": null,
"refund_status": "pending",
"refund_no": null,
"closed": 1,
"ship_status": "pending",
"ship_data": null,
"extra": null,
"create_time": "2019-12-14 16:59:43",
"update_time": "2019-12-14 17:29:44",
"reviewed": 0,
"coupon_user_id": 0,
"orderItems": [
{
"id": 121,
"order_id": 124,
"shop_id": 2,
"num": 1,
"price": "0.50",
"rating": null,
"review": null,
"review_time": null,
"create_time": "2019-12-14 16:59:43",
"skus_type": 1,
"goods_id": 25,
"goods_num": 0,
"user_id": 0,
"extra": {},
"goodsItem": {
"id": 25,
"title": "小米...",
"category_id": 1,
"cover": "https://...png",
"rating": 5,
"sale_count": 1,
"review_count": 0,
"min_price": "0.01",
"min_oprice": "30.00",
"desc": "酒店..醇密",
"unit": "kg",
"stock": 200,
"min_stock": 10,
"ischeck": 1,
"status": 1,
"stock_display": 1,
"express_id": 1,
"sku_type": 1,
"sku_value": {
"oprice": 20,
"pprice": 30,
"cprice": 20,
"weight": 10,
"volume": 20
},
"goods_type_id": 2,
"content": "<img ...>",
"discount": 10,
"create_time": "2019-08-25 17:43:24",
"update_time": "2019-12-14 17:00:04",
"delete_time": null,
"order": 50
},
"goodsSkus": {
"id": 2,
"image": "",
"pprice": "0.50",
"oprice": "2.00",
"cprice": "10.00",
"stock": 48,
"volume": 5,
"weight": 6,
"code": "666",
"goods_id": 25,
"skus": {
"0": {
"goods_skus_card_id": 1,
"id": 1,
"name": "颜色",
"value": "黄色"
},
// ...
}
}
}
],
"couponUserItem": [],
"end_time": 1576315783
}
}