订单详情
GET {{base_url}}/order/getUserOrderDetail
Query
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
order_id |
string | 1 |
Header
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
Authorization |
string | 1 |
返回示例
{
"status": 200,
"msg": "success",
"data": {
"order_id": 2,
"shop_id": 1,
"order_no": "od1591001311644314",
"uid": 14,
"pay_type": 0,
"order_time": "2020-06-01 16:48:31",
"pay_time": null,
"dispatch_type": 2,
"dispatch_time": null,
"dispatch_money": "0.00",
"packing": "0.00",
"receive_time": null,
"dispatch_address": " ",
"contacts_name": null,
"phone": null,
"fetch_time": "2020-06-01 16:48:31",
"fetch_code": "MJ1591001311644623",
"goods_money": "56.00",
"order_money": "56.00",
"actual_money": "36.00",
"coupon_id": 11,
"coupon_money": "10.00",
"full_reduction": "{\"full_id\":4,\"shop_id\":1,\"shop_type\":1,\"use_money\":20,\"reduce_money\":10,\"status\":1,\"create_at\":\"2020-04-17 17:39:23\",\"update_at\":1587352468}",
"full_reduction_money": "10",
"user_note": "",
"cart_pay_code": null,
"order_status": 1,
"pay_status": 0,
"shipping_status": 0,
"evaluate_status": 0,
"created_at": "2020-06-01 16:48:31",
"updated_at": "2020-06-01 16:48:31",
"deleted_at": null,
"order_status_name": "待付款",
"shop": {
"shop_id": 1,
"shop_name": "便利店(爱联店)",
"shop_logo": "http://chicken.com/uploads/shop_logo/2020-04-15/5e96870366015.png",
"phone": "13113692222",
"shop_type": 1
},
"order_refund": null,
"order_goods": [
{
"id": 1,
"order_id": 2,
"goods_id": 1,
"goods_name": "香辣鸡翅",
"goods_img": "goods/2020-04-15/5e96e85c35f1c.jpg",
"goods_num": 1,
"goods_price": "10.00",
"goods_packing": "0.00",
"created_at": "2020-06-01 16:48:31",
"updated_at": "2020-06-01 16:48:31"
},
{
"id": 2,
"order_id": 2,
"goods_id": 2,
"goods_name": "奥尔良鸡翅",
"goods_img": "goods/2020-04-15/5e96e87b772cc.png",
"goods_num": 4,
"goods_price": "10.00",
"goods_packing": "0.00",
"created_at": "2020-06-01 16:48:31",
"updated_at": "2020-06-01 16:48:31"
},
{
"id": 3,
"order_id": 2,
"goods_id": 4,
"goods_name": "百事可乐",
"goods_img": "goods/2020-04-17/5e99657739027.png",
"goods_num": 2,
"goods_price": "3.00",
"goods_packing": "0.00",
"created_at": "2020-06-01 16:48:31",
"updated_at": "2020-06-01 16:48:31"
}
]
}
}
文档更新时间: 2020-09-26 13:33 作者:nianwang