文档
测试

订单详情

POST
{{url}}/api/order/detail

请求头

参数名
类型
描述
必填

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1667380152
必填
data
object
数据字典
必填
out_trade_no
string
商户订单号
必填
order_price
string
订单原价钱
必填
discount_price
string
优惠多少钱
必填
delivery_price
string
运费多少钱
必填
total_price
string
订单实价
必填
pay_type
int
支付类型
必填
ip
string
下单ip
必填
remark
string
订单备注
必填
status
int
示例:1
可选
have_paid
int
是否支付
必填
have_delivered
int
是否发货
必填
have_received
int
是否收货
必填
have_commented
int
示例:0
可选
refund_status
int
退款状态
必填
had_refund
int
示例:0
可选
createtime
string
示例:2022-11-02 16:59:55
可选
updatetime
int
示例:1667379595
可选
deletetime
object
示例:null
可选
products
array
数据列表
必填
id
string
商品id
必填
image
string
商品图片
必填
number
int
商品数量
必填
price
string
商品价钱
必填
spec
string
示例:
可选
title
string
商品名称
必填
order_product_id
int
订单商品id
必填
state
int
示例:1
可选
paidtime
int
示例:0
可选
deliveredtime
int
示例:0
可选
receivedtime
int
示例:0
可选
commentedtime
int
示例:0
可选
pay_type_text
string
支付类型简述
必填
refund_status_text
string
退款状态简述
必填