文档
测试

订单详情

POST
{{test}}/api/buildorder/getOrderDetails

请求头

参数名
类型
描述
必填
token
string
示例:
必填

请求参数

参数名
类型
描述
必填
order_id
int
示例:2 订单id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
payway
object
示例:null
必填
id
int id
示例:2
必填
order_no
string 订单号
示例:221230230933389
必填
total_price
string
示例:5999.00
必填
pay_price
string
示例:6000.00
必填
pay_status
int 0未付款 1已付款
示例:0
必填
shipping_status
int
示例:0
必填
order_status
int
示例:0
必填
user_id
int
示例:1
必填
comment_status
int
示例:0
必填
shop_id
int
示例:0
必填
express_company
string
示例:
必填
express_no
string
示例:
必填
express_price
string 邮费
示例:1.00
必填
address
string 配送地址
示例:河南省郑州市中原区大科园
必填
name
string 姓名
示例:强子
必填
phone
string 电话
示例:18537172648
必填
note
string
示例:
必填
province
int
示例:1505
必填
city
int
示例:1506
必填
district
int
示例:1507
必填
pay_time
int 付款时间
示例:0
必填
cancel_reason
string
示例:
必填
cancel_note
string
示例:
必填
back_time
int
示例:0
必填
cancel_com
string
示例:
必填
cancel_sn
string
示例:
必填
cancel_img
string
示例:
必填
goods
array
数据列表
必填
id
int
示例:2
必填
goods_id
int
示例:22
必填
goods_name
string 名称
示例:Mate 20 华为 HUAWEI
必填
images
string 图片
示例:/uploads/20221217/2aa93141189095f9516e681158546ec5.webp
必填
deduct_stock_type
string
示例:20
必填
spec_type
string
示例:10
必填
spec_sku_id
string
示例:44_47
必填
goods_spec_id
int
示例:0
必填
goods_attr
string 属性值
示例:颜色:亮黑色; 内存:8GB+128GB
必填
goods_no
string
示例:
必填
market_price
string
示例:0.00
必填
goods_price
string 价格
示例:5999.00
必填
line_price
string
示例:20.00
必填
goods_weight
int
示例:0
必填
total_num
string 数量
示例:1
必填
total_price
string
示例:0.00
必填
order_id
int
示例:2
必填
user_id
int
示例:0
必填
createtime
int
示例:0
必填
shop_id
int
示例:0
必填
comment_status
int
示例:0
必填
service_id
int
示例:0
必填
service_name
object 服务名称
示例:null
必填
status
string
示例:待付款
必填
_status
string
示例:待付款
必填
money
string 用户余额
示例:0.00
必填
log_id
int 支付id
示例:100163
必填
createtime
下单时间
可选