文档
测试

查看订单详情

GET
http://192.168.0.101/v1/orderMsg/34

接口描述

获取订单详情 最后一位的数字为订单id

请求头

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

响应参数

参数名
类型
描述
必填
errorCode
int
示例:1000
必填
msg
string
示例:查询订单详情成功
必填
rows
object
数据字典
必填
id
int
订单id 示例:20
必填
order_type
int
订单类型 示例:1
必填
uid
int
用户id 示例:1
必填
order_no
string
订单号 示例:A519745241522051
必填
remark
string
备注信息 示例:我试试
必填
store_id
int
商铺id号 示例:1
必填
create_time
string
创建时间 示例:2020-05-19 15:48:44
必填
payment_time
object
支付时间 示例:null
必填
finished_time
string
订单完成时间 示例:2020-05-20 08:41:13
必填
goods_amount
string
商品总额 示例:20.00
必填
order_amount
string
订单总额 示例:42.00
必填
evaluation_state
int
是否评价 示例:0
必填
order_state
int
订单状态.0待支付,1已支付待发货,2已发货,3已完成,4已评价,5已取消 示例:3
必填
delflag
int
删除标记 示例:0
必填
shipping_status
int
发货状态 0未发货 1已经发货
必填
pay_status
int
支付状态.0待支付,1已支付,2已退款 示例:0
必填
shipping_price
string
运费 示例:22.00
必填
cancel_reason
object
取消原因 示例:null
必填
acti_id
object
活动Id 示例:null
必填
expressno
object
快递单号 示例:null
必填
order_address
object
数据字典
必填
id
int
下单地址 示例:2
必填
username
string
下单人姓名 示例:子峰
必填
telphone
string
联系电话 示例:15000000000
必填
provice
string
所在省 示例:浙江
必填
address
string
详细地址 示例:宁波镇海区
必填
is_default
int
是否为默认地址 示例:1
必填
status
int
使用状态 0正常 示例:0
必填
uid
int
用户id 示例:1
必填
createtime
string
创建时间 示例:2020-04-30 18:00:00
必填
order_sale
int
商品折扣 示例:9
必填
real_amount
string
实际支付金额 示例:40
必填
prepay_id
object
订单微信支付的预订单id 示例:null
必填
start
int
订单评价 示例:5
必填
express_start
int
物流评价 示例:5
必填
serve_start
int
服务评价 示例:5
必填
order_name
object
自定义粉料名称 示例:null
必填
order_mold
object
订单类型 1汤料 2炒面料 3其他 示例:null
必填
working_price
int
加工费用 示例:0
必填
goods_orders
array
数据列表
必填
id
int
示例:23
必填
order_id
int
订单id 示例:20
必填
goods_id
int
商品id 示例:3
必填
goods_name
string
商品名 示例:牛肉汤料
必填
goods_price
string
单价 示例:10.00
必填
goods_num
int
购买数量 示例:1
必填
goods_image
string
商品主图 示例:http://qiniu.emjiayuan.co
必填
createtime
string
创建时间 示例:2020-05-19 15:48:44
必填
attr_id
int
组合id 示例:1
必填
totalPrice
string
该商品总额 示例:10.00
必填
goods_level
int
商品等级 示例:1
必填
goods
object
数据字典
必填
id
int
示例:3
必填
goods_storage
int
商品剩余量 示例:100
必填
good_attr
object
商品组合 数据字典
必填
sale_price
float
折扣额度
必填

说明 / 示例

{ "errorCode": 1000, "msg": "查询订单详情成功", "rows": { "id": 20, "order_type": 1, "uid": 1, "order_no": "A519745241522051", "remark": "我试试", "store_id": 1, "store_name": "", "username": null, "create_time": "2020-05-19 15:48:44", "payment_time": null, "finished_time": "2020-05-20 08:41:13", "goods_amount": "20.00", "order_amount": "42.00", "evaluation_state": 0, "order_state": 3, "delflag": 0, "shipping_status": 0, "pay_status": 0, "shipping_price": "22.00", "cancel_reason": null, "acti_id": null, "expressno": null, "order_address": { "id": 2, "username": "子峰", "telphone": "15000000000", "provice": "浙江", "address": "宁波镇海区", "is_default": 1, "status": 0, "uid": 1, "createtime": "2020-04-30 18:00:00" }, "order_sale": 9, "real_amount": "40", "prepay_id": null, "start": 5, "express_start": 5, "serve_start": 5, "order_name": null, "order_mold": null, "working_price": 0, "goods_orders": [ { "id": 23, "order_id": 20, "goods_id": 3, "goods_name": "牛肉汤料", "goods_price": "10.00", "goods_num": 1, "goods_image": "http://qiniu.emjiayuan.co", "createtime": "2020-05-19 15:48:44", "attr_id": 1, "totalPrice": "10.00", "goods_level": 1, "goods": { "id": 3, "goods_storage": 100 } }, { "id": 24, "order_id": 20, "goods_id": 5, "goods_name": "鸡精", "goods_price": "10.00", "goods_num": 1, "goods_image": "http://qiniu.emjiayuan.co", "createtime": "2020-05-19 15:48:44", "attr_id": 0, "totalPrice": "10.00", "goods_level": 1, "goods": { "id": 5, "goods_storage": 100 } } ] } }