文档
测试

获取订单详情

POST
http://192.168.31.43:8080/index.php?s=orderdetail

接口描述

获取订单详情,/orderdetail

请求头

参数名
类型
描述
必填
token
string
用户token
必填

请求参数

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

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
object
数据字典
必填
id
string
示例:202528
必填
order_no
string
示例:20200728094126022198
必填
user_id
string
示例:7854848
必填
user_note
object
示例:null
必填
express_id
string
示例:0
必填
express_number
object
示例:null
必填
payment_id
string
示例:0
必填
status
string
示例:7
必填
pay_status
string
示例:0
必填
buy_number_count
string
示例:1
必填
yeji
string
示例:399.00
必填
can_add_purchase_total
string
可参与加价购门槛检测的金额,除去加价购商品的订单业绩总和,示例:399.00
必填
add_purchase_number
string
已购买加价购商品数量,示例:0
必填
fc_total
string
示例:90.00
必填
is_ice
string
示例:0
必填
save_total
string
示例:90.00
必填
preferential_price
string
示例:0.00
必填
price
string
示例:399.00
必填
total_price
string
示例:399.00
必填
real_price
string
示例:399.00
必填
send_price
string
示例:0.00
必填
item_price
string
示例:399.00
必填
upd_time
string
示例:2020-07-28 09:41:26
必填
confirm_time
string
示例:2020-07-28 09:41:31
必填
pay_price
string
示例:0.00
必填
refund_price
string
示例:0.00
必填
returned_quantity
string
示例:0
必填
client_type
string
示例:h5
必填
order_model
string
示例:0
必填
pay_time
object
示例:null
必填
delivery_time
object
示例:null
必填
cancel_time
object
示例:null
必填
collect_time
object
示例:null
必填
close_time
object
示例:null
必填
comments_time
string
示例:0
必填
is_comments
string
示例:0
必填
user_is_comments
string
示例:0
必填
is_delete_time
string
示例:0
必填
user_is_delete_time
string
示例:0
必填
add_time
string
示例:2020-07-28 09:41:26
必填
is_big
string
示例:0
必填
increase_price
string
示例:0.00
必填
extension_data
string
示例:
必填
pay_code
object
示例:null
必填
is_sign
string
示例:0
必填
fc_time
string
示例:0
必填
ice_time
string
示例:0
必填
is_fc
string
示例:0
必填
xz
string
示例:0
必填
address_data
object
数据字典
必填
id
string
示例:41027
必填
order_id
string
示例:202528
必填
user_id
string
示例:7854848
必填
address_id
string
示例:41027
必填
alias
string
示例:
必填
name
string
示例:111111
必填
tel
string
示例:13800138000
必填
province
string
示例:120000
必填
city
string
示例:120100
必填
county
string
示例:120101
必填
address
string
示例:12312
必填
province_name
string
示例:天津市
必填
city_name
string
示例:天津市
必填
county_name
string
示例:和平区
必填
lng
string
示例:0.0000000000
必填
lat
string
示例:0.0000000000
必填
add_time
string
示例:1595900582
必填
upd_time
string
示例:0
必填
order_model_name
string
示例:未知
必填
client_type_name
string
示例:
必填
status_name
string
示例:已过期
必填
pay_status_name
string
示例:待支付
必填
express_name
object
示例:null
必填
payment_name
object
示例:null
必填
pay_text
object
示例:null
必填
add_time_time
string
示例:2020-07-28 09:41:26
必填
add_time_date
string
示例:2020-07-28
必填
user_is_comments_time
object
示例:null
必填
items
array
数据列表
必填
id
string
示例:212946
必填
user_id
string
示例:7854848
必填
order_id
string
示例:202528
必填
big_id
string
示例:0
必填
goods_base_id
string
示例:2739
必填
goods_id
string
示例:491
必填
title
string
示例:面面俱到套装
必填
images
string
示例:https://api.miaopinhui.net/static/upload/images/other/2020/07/25/1595642153647308.jpg
必填
original_price
string
示例:1278.80
必填
price
string
示例:399.00
必填
total_price
int
示例:399
必填
spec
array
数据列表
必填
id
string
示例:1832
必填
type
string
示例:规格
必填
value
string
示例:10+2
必填
images
string
示例:
必填
stock
string
示例:0
必填
price
string
示例:399.00
必填
original_price
string
示例:1278.80
必填
title
string
示例:面面俱到套装
必填
buy_number
string
示例:1
必填
model
string
示例:0
必填
spec_weight
string
示例:2.86
必填
spec_coding
string
示例:697318990104
必填
spec_barcode
string
示例:697318990104
必填
refund_price
string
示例:0.00
必填
returned_quantity
string
示例:0
必填
add_time
string
示例:1595900486
必填
upd_time
string
示例:0
必填
batch
object
示例:null
必填
spec_text
string
示例:规格:10+2
必填
items_count
int
示例:1
必填
describe
string
示例:共1件 合计:¥399.00元
必填
add_purchase_limit
int
可购买加价购商品总数,示例:4
必填
add_purchase_money
int
加价购门槛,每满xx元可参与1次加价购,示例:99
必填
send_fee_limit
运费门槛,大于等于该数则实付总价应减去send_price
必填
add_purchase_type
加价购门槛类型,num数量,money价格
必填
except_send_fee_price
未加价购前参与计算运费门槛的金额
必填
coupon_id
使用的优惠券id
必填
coupon_data
优惠券数据
必填
over
满多少
必填
off
减多少
必填
user_balance
用户余额
必填
deduct_price
余额抵扣金额
必填
is_help
是否为砍价(助力)单
必填

说明 / 示例

请求示例: ```json { "id": "225951" } ``` 返回示例: ```json { "msg": "success", "code": 0, "data": { "id": "980920", "order_no": "20210126105738682585", "user_id": "7854848", "user_note": null, "express_id": "0", "express_number": null, "payment_id": "0", "status": "1", "pay_status": "0", "buy_number_count": "1", "yeji": "269.10", "can_add_purchase_total": "299.10", "can_add_purchase_number": "1", "add_purchase_number": "0", "fc_total": "62.98", "is_ice": "0", "save_total": "70.00", "preferential_price": "30.00", "coupon_id": "1", "price": "299.10", "total_price": "269.10", "real_price": "299.10", "send_price": "0.00", "item_price": "299.10", "upd_time": "2021-01-26 12:56:27", "confirm_time": "2021-01-26 12:56:27", "pay_price": "0.00", "refund_price": "0.00", "returned_quantity": "0", "client_type": "pc", "order_model": "0", "pay_time": null, "delivery_time": null, "delivery_real_time": "0", "cancel_time": null, "collect_time": null, "close_time": null, "comments_time": "0", "is_comments": "0", "user_is_comments": "0", "is_delete_time": "0", "user_is_delete_time": "0", "add_time": "2021-01-26 10:57:38", "is_big": "0", "is_lock": "0", "increase_price": "0.00", "extension_data": "", "pay_code": null, "is_sign": "0", "sign_days": "0", "fc_time": "0", "ice_time": "0", "is_fc": "0", "xz": "0", "address_data": { "id": "87699", "order_id": "980920", "user_id": "7854848", "address_id": "87699", "alias": "", "name": "1", "tel": "13800138000", "province": "110000", "city": "110100", "county": "110101", "address": "1", "province_name": "北京市", "city_name": "北京市", "county_name": "东城区", "lng": "0.0000000000", "lat": "0.0000000000", "add_time": "1611636987", "upd_time": "0" }, "order_model_name": "未知", "client_type_name": "", "status_name": "待付款", "pay_status_name": "待支付", "express_name": null, "payment_name": null, "pay_text": null, "add_time_time": "2021-01-26 10:57:38", "add_time_date": "2021-01-26", "user_is_comments_time": null, "coupon_data": { "over": "200.00", "off": "30.00" }, "items": [ { "id": "1106714", "user_id": "7854848", "order_id": "980920", "big_id": "0", "goods_base_id": "7847", "goods_id": "445", "title": "欧氧清青春悦颜美肌套盒", "images": "https://api.miaopinhui.net/static/upload/images/goods/2020/06/15/1592205533469822.jpg", "original_price": "1298.00", "price": "299.10", "is_yeji": "1", "total_price": 299.1, "spec": [ { "id": "5718", "type": "规格", "value": "美肌套盒*1", "images": "https://demo.miaopinhui.net:8848/static/upload/images/goods/2020/06/15/1592205533469822.jpg", "stock": "0", "price": "0.02", "original_price": "1298.00", "title": "欧氧清青春悦颜美肌套盒" } ], "buy_number": "1", "model": "0", "spec_weight": "1.50", "spec_coding": "6973189960295", "spec_barcode": "6973189960295", "refund_price": "0.00", "returned_quantity": "0", "add_time": "1611629858", "upd_time": "0", "batch": null, "spec_text": "规格:美肌套盒*1" } ], "items_count": 1, "describe": "共1件 合计:¥269.10元", "add_purchase_limit": "1", "add_purchase_type": "num", "add_purchase_money": "200", "send_fee_limit": 35.8, "except_send_fee_price": "269.10", "user_balance":"120.00" } } ```