文档
测试

订单详情

GET
/api/order/detail

请求参数

参数名
类型
描述
必填
order_id
int
订单id
必填

响应参数

参数名
类型
描述
必填
data
object
订单信息
必填
id
int
订单id
必填
status
int
状态0,未支付,1,已支付,2,已发货,3,已收货,4,已评价,5,已取消,
必填
buy_status_name
string
状态描述
必填
trade_no
string
订单号
必填
pay_price
float
支付价格
必填
detail
string
订单备注
必填
order_goods
array
订单商品
必填
price
float
购买单价
必填
num
int
购买数量
必填
specifications
string
多规格描述
必填
goods
object
商品信息
必填
id
int
商品id
必填
name
string
商品名称
必填
thumbnail_http
string
商品图片
必填
created_at
string
订单创建时间
必填
pay_at
string
订单支付时间
必填
store
object
店铺信息
必填
id
int
门店id
必填
name
string
门店名称
必填
tel
string
门店电话
必填
address
string
门店地址
必填

说明 / 示例

{ "data": { "id": 3, "postage": 0, "status": 0, "pay_type": 0, "pay_at": null, "created_at": "2022-07-20 14:38:24", "updated_at": "2022-07-20 14:38:24", "deleted_at": null, "send_at": null, "integral": 0, "change_address": 0, "trade_no": "2022072048991009", "type": 1, "user_id": 1, "total_price": "1.00", "success_at": null, "store_id": 1, "user_coupon_id": 0, "level": 0, "pay_price": 1, "genre": 0, "coupon_discount": "0.00", "status_name": "等待买家付款", "buy_status_name": "等待付款", "is_refund": true, "type_name": "自提", "genre_name": "正常订单", "order_goods": [ { "id": 2, "price": 1, "num": 1, "specifications": "", "order_id": 3, "goods_id": 1, "is_comment": 0, "integral": 0, "postage": 0, "good_size_id": null, "goods": { "id": 1, "name": "ceshi_视频", "thumbnail": "/images/1653010749770.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 999, "ord": 0, "cate_id": 1, "sales_num": 10, "parameter": [ { "key": "尺寸", "value": "100*200" } ], "detail": "<img src=\"/editor/attached/image/20220520/20220520093251_13704.jpg\" alt=\"\" />", "home_page": 1, "status": 0, "comment_num": 0, "is_hot": 0, "created_at": "2022-05-20 09:39:09", "updated_at": "2022-07-20 14:38:24", "images": "<img src=\"/editor/attached/image/20220520/20220520093236_49892.jpg\" alt=\"\" />", "service":"[{\"key\":\"7\天\无\理\由\",\"value\":\"7\天\无\理\由\退\换\货\"}]", "deleted_at": null, "collect_num": 0, "customer_id": null, "deduction": "5.00", "final_payment": "1500.00", "process": "1,付定金-2,到店付尾款-3,发货", "video_src": "file\\202203\\959efc321858b6bf48b22d4b44630a12.mp4", "on_sale": null, "thumbnail_http": "http://127.0.0.77/images/1653010749770.jpg" } } ], "store": { "id": 1, "name": "测试", "tel": "15254265894", "address": "四川省南充市顺庆区五星花园", "is_default": 1, "longitude": "106.115942", "latitude": "30.792762", "ord": 0, "content": null, "img": "/images/1653029847114.jpg", "created_at": "2022-05-20 14:57:54", "updated_at": "2022-05-20 14:57:58", "deleted_at": null, "image": "/images/1653029854641.jpg", "service_time": "8:00-18:00", "remark": null, "instruction": null, "img_http": "http://127.0.0.77/images/1653029847114.jpg", "image_http": "http://127.0.0.77/images/1653029854641.jpg", "instruction_arr": [], "remark_txt": [] } } }