文档
测试

订单详情

GET
/order/detail/:order_id

接口描述

/order/detail/wx158581436595066599 orderid

请求头

参数名
类型
描述
必填
Authori-zation
string
令牌 任何请求都加令牌,为了防止为空可以使用 Bearer 字符 返回参数状态码有三种 200(正确) 400(错误) 41000(未登录)
必填

响应参数

参数名
类型
描述
必填
status
int
返回状态码含有 200-正确码 400-错误码 41000-未登录码
必填
msg
string
返回信息,错误或者正确都在内
必填
data
array
返回的数据集合,正确数据请查看说明中的事例 item 代表是循环的数组,array 就是正常的数据
必填

说明 / 示例

{ "status": 200, "msg": "ok", "data": { "id": 1, "order_id": "wx158581436595066599", "uid": 1, "real_name": "马远方", "user_phone": "13071007751", "user_address": "河北 衡水市 枣强县 郑州大学", "cart_id": [ 6, 2 ], "freight_price": "0.00", "total_num": 100, "total_price": "19900.00", "total_postage": "0.00", "pay_price": "19900.00", "pay_postage": "0.00", "deduction_price": "0.00", "coupon_id": 0, "coupon_price": "0.00", "paid": 0, "pay_time": null, "pay_type": "yue", "add_time": 1585814365, "status": 0, "refund_status": 0, "refund_reason_wap_img": null, "refund_reason_wap_explain": null, "refund_reason_time": null, "refund_reason_wap": null, "refund_reason": null, "refund_price": "0.00", "delivery_name": null, "delivery_type": null, "delivery_id": null, "gain_integral": "0.00", "use_integral": "0.00", "back_integral": null, "mark": "", "is_del": 0, "unique": "b968cfbf06df67049182b00b0f237dc3", "remark": null, "mer_id": 0, "is_mer_check": 0, "combination_id": 0, "pink_id": 0, "cost": "0.00", "seckill_id": 0, "bargain_id": 0, "verify_code": "", "store_id": 0, "shipping_type": 1, "is_channel": 2, "is_remind": 0, "is_system_del": 0, "add_time_y": "2020-04-02", "add_time_h": "15:59:25", "system_store": null, "mapKey": "", "cartInfo": [ { "id": 2, "uid": 1, "type": "video", "product_id": 21, "product_attr_unique": "", "cart_num": 99, "add_time": 1585807529, "is_pay": 0, "is_del": 0, "is_new": 1, "combination_id": 0, "seckill_id": 0, "bargain_id": 0, "productInfo": { "id": 21, "image": "https://img2.mukewang.com/540e57300001d6d906000338-240-135.jpg", "title": "初识Python", "cate_id": "1", "price": "200.00", "del_price": "1000.00", "sort": 0, "type": 0, "short_title": "课程须知", "short_content": "如果您了解程序设计的基本概念,会简单使用命令行,了解中学数学函数的概念,那么对课程学习会有很大的帮助,让您学起来得心应手,快速进入Python世界。", "view": 0, "reply_num": 0, "lecturer_id": 1, "main_file_type": 1, "main_image": "https://img2.mukewang.com/540e57300001d6d906000338-240-135.jpg", "main_video": "", "main_live": "", "main_mp3": "", "status": 1, "pay_type": 1, "file_time": 0, "is_download": 0, "share_num": 0, "recommend": 1, "add_time": 0 }, "truePrice": "200.00", "costPrice": 0, "vip_truePrice": "200.00", "unique": "3c59dc048e8850243be8079a5c74d079", "is_reply": 0 }, { "id": 6, "uid": 1, "type": "video", "product_id": 20, "product_attr_unique": "", "cart_num": 1, "add_time": 1585808910, "is_pay": 0, "is_del": 0, "is_new": 0, "combination_id": 0, "seckill_id": 0, "bargain_id": 0, "productInfo": { "id": 20, "image": "https://img2.mukewang.com/540e57300001d6d906000338-240-135.jpg", "title": "初识Python", "cate_id": "1", "price": "100.00", "del_price": "1000.00", "sort": 0, "type": 0, "short_title": "课程须知", "short_content": "如果您了解程序设计的基本概念,会简单使用命令行,了解中学数学函数的概念,那么对课程学习会有很大的帮助,让您学起来得心应手,快速进入Python世界。", "view": 3, "reply_num": 10, "lecturer_id": 1, "main_file_type": 1, "main_image": "https://img2.mukewang.com/540e57300001d6d906000338-240-135.jpg", "main_video": "", "main_live": "", "main_mp3": "", "status": 1, "pay_type": 1, "file_time": 0, "is_download": 0, "share_num": 0, "recommend": 1, "add_time": 0 }, "truePrice": "100.00", "costPrice": 0, "vip_truePrice": "100.00", "unique": "7f39f8317fbdb1988ef4c628eba02591", "is_reply": 0 } ], "_status": { "_type": 0, "_title": "未支付", "_msg": "请在04-02 16:05:25前完成支付!", "_class": "nobuy", "_payType": "余额支付" }, "_pay_time": "2020-04-02 15:59:25", "_add_time": "2020-04-02 15:59:25", "status_pic": "", "offlinePayStatus": 2 } }