企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** -获取订单详情 **请求URL: - ` /api/order/getOrderDetail ` **请求方式: - GET **参数: |参数名 |必选 |类型 |说明 |参数示例 | |:--|:--|:--|:--|:--| |id |是 |var |购买商品| 3| **返回示例 ``` { "code": 1, "show": 0, "msg": "获取成功", "data": [ { "id": 3, "trade_id": 2, "shop_id": 1, "order_sn": "202105201009316060", "order_status": 1, "pay_way": 3, "delivery_type": 0, "aftersale_status": 0, "pay_time": 1621567451, "consignee": "测试人员2号", "mobile": "16548555214", "goods_price": "300.00", "order_amount": "330.00", "discount_amount": "0.00", "total_amount": "330.00", "total_num": 6, "shipping_price": "30.00", "shipping_time": 0, "user_remark": "测试", "confirm_take_time": null, "cancel_time": null, "refund_status": 0, "settle_id": 0, "settle_amount": null, "refund_amount": null, "platform_commission": null, "create_time": "2021-05-20 10:09:31", "update_time": "2021-05-20 10:09:31", "coupon_list_id": null, "order_remarks": "", "orderGoods": [ { "id": 7, "order_id": 3, "goods_id": 9, "item_id": 9, "goods_num": 3, "goods_name": "防晒衣女短款2021夏季新款韩版洋气纯色连帽透气防晒服女士薄外套", "goods_price": "50.00", "total_price": "150.00", "total_pay_price": "150.00", "discount_price": null, "spec_value": "s,白", "spec_value_ids": "9,14", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/20210512101851215882180.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 10:09:31", "settle_id": 0, "settle_amount": null, "comment_btn": 0, "refund_btn": 0 }, { "id": 8, "order_id": 3, "goods_id": 9, "item_id": 11, "goods_num": 3, "goods_name": "防晒衣女短款2021夏季新款韩版洋气纯色连帽透气防晒服女士薄外套", "goods_price": "50.00", "total_price": "150.00", "total_pay_price": "150.00", "discount_price": null, "spec_value": "s,黑", "spec_value_ids": "9,16", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/20210512101851215882180.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 10:09:31", "settle_id": 0, "settle_amount": null, "comment_btn": 0, "refund_btn": 0 } ], "shop": { "id": 1, "name": "手机店", "type": 1 }, "delivery_address": "广东省广州市南沙区黄埔大道", "pay_btn": 0, "cancel_btn": 0, "delivery_btn": 0, "take_btn": 0, "del_btn": 0, "order_cancel_time": "" } ] } ``` 返回参数: |参数名 |必选 |类型 |说明 |参数示例 | |:--|:--|:--|:--|:--| |comment_btn |是 |int |评价按钮是否显示| 1为显示,0为隐藏| |refund_btn |是 |int |申请退款按钮是否显示| 1为显示,0为隐藏|