文档
测试

全部订单列表

GET
/api/mp/order/queryOrder

请求头

参数名
类型
描述
必填
token
token
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
array
数据列表
必填
id
int
订单id 示例:141
必填
outTradeNo
string
订单号 示例:120200628091603677492
必填
totalMoney
float
总金额 示例:0.02
必填
paymentMoney
float
实际支付金额 示例:0.02
必填
couponMoney
int
优惠金额 示例:0
必填
receiverName
string
收货人 示例:刘硕
必填
receiverPhone
string
收货人手机号 示例:13839027905
必填
receiverAddress
string
收货人地址 示例:郑州市
必填
orderState
int
订单状态(0:待支付 1:待收货 2:已完成 3:已取消 4:后台待发货) 示例:4
必填
remarks
string
备注 示例:
必填
payWay
int
支付方式(0:余额支付 1:微信支付) 示例:0
必填
createTime
int
创建时间 示例:1593306964000
必填
smOrderInfos
array
订单详情 数据列表
必填
id
int
详情id 示例:148
必填
smGoodsBase
object
商品信息 数据字典
必填
id
int
商品id 示例:2
必填
name
string
商品名称 示例:猪蹄
必填
subtitle
string
商品标题 示例:特产猪蹄熟食真空即食
必填
price
float
普通价格 示例:0.02
必填
originalPrice
int
原价 示例:45
必填
costPrice
float
代理价 示例:0.01
必填
image
string
商品轮播图
必填
smGoodsStock
object
商品属性 数据字典
必填
id
int
示例:2
必填
weight
string
重量 示例:520
必填
unit
string
单位 示例:克
必填
goodsPrice
float
商品单价 示例:0.01
必填
goodsNum
int
购买数量 示例:1
必填
createTime
int
创建时间 示例:1593306964000
必填