文档
测试

全部订单记录

GET
http://192.168.1.116:8080/api/orders/list?deviceInfoId=27

接口描述

全部订单记录,通过设备号查询

响应参数

参数名
类型
描述
必填
total
int
示例:3
必填
rows
array
数据列表
必填
id
int
good_order 表的 id
必填
addressId
int
收货地址id
必填
deviceInfoId
int
用户id
必填
orderNumber
string
订单编号
必填
productName
string
商品名称
必填
productType
string
商品类型(0金额(wx,支付宝),1葫芦)
必填
productImage
string
商品图片
必填
number
int
购买数量
必填
productPrice
int
商品金额
必填
courierCompany
string
快递公司
必填
courierNumber
string
快递单号
必填
completeTime
string
完成时间
必填
status
int
状态(0待发货,1已发货,2已完成)
必填
name
string
收货姓名
必填
address
收货地址
必填
phone
string
收货人手机号
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填

说明 / 示例

{ "total": 3, "rows": [ { "id": 13, "addressId": 1, "deviceInfoId": 27, "orderNumber": "22", "productName": "135", "productType": "0", "productImage": "1", "number": 2, "productPrice": 4, "courierCompany": "424", "courierNumber": "2", "completeTime": "2021-06-08 09:49:58", "status": 0, "name": "雷同琦", "address": "河南省鹤壁市淇县鹤壁华之云科技有限公司", "phone": "12345678901" }, ], "code": 200, "msg": "查询成功" }