文档
测试

我的订单

GET
http://192.168.1.230:8080/api/orders/list/{deviceInfoId}/{type}

接口描述

全部订单记录(0好礼,1好物,2全部)

请求参数

参数名
类型
描述
必填
{deviceInfoId}
Long
示例:29b4e2f5d01fd383d85d4ae9b81d14ec7
必填
{type}
String
示例:0好礼 1好物 2全部
必填
page
int
示例:1
必填
limit
int
示例:10
必填

响应参数

参数名
类型
描述
必填
total
int
示例:3
必填
rows
array
数据列表
必填
createTime
string
示例:2021-09-11 16:13:03
必填
updateTime
string
示例:2021-09-11 16:13:11
必填
params
object
数据字典
必填
id
int
示例:5
必填
addressId
int
收货地址id
必填
deviceNumber
string
设备号
必填
orderNumber
string
订单编号
必填
productName
string
商品名称
必填
productInfo
string
商品详情
必填
productType
string
支付类型(0金钱,1葫芦兑换)
必填
productImage
string
商品图片
必填
number
int
购买数量
必填
productPrice
float
商品价格
必填
huluNumber
object
葫芦个数
必填
courierCompany
object
快递公司类别
必填
courierNumber
object
快递单号
必填
completeTime
object
完成时间
必填
status
int
状态(0待发货,1已发货,2已完成)
必填
paymentStatus
string
支付状态(0:未支付,1:支付中,2:已支付)
必填
tradeNo
string
平台订单号
必填
paymentType
string
支付方式(1:微信,2:支付宝)
必填
amount
float
订单支付金额
必填
paymentTime
string
支付时间
必填
buyerLogonId
string
支付用户在平台的登陆用户名
必填
goodsId
int
商品id
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填

说明 / 示例

{ "total": 3, "rows": [ { "searchValue": null, "createBy": null, "createTime": "2021-09-11 16:13:03", "updateBy": null, "updateTime": "2021-09-11 16:13:11", "remark": null, "params": { }, "id": 5, "addressId": 3, "deviceNumber": "29b4e2f5d01fd383d85d4ae9b81d14ec7", "orderNumber": "GM2021091116130252906193", "productName": "黑白卡", "productInfo": "", "productType": "0", "productImage": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/916a78c1-932a-4d42-9806-6cc75240c95d.png", "number": 1, "productPrice": 0.01, "huluNumber": null, "courierCompany": null, "courierNumber": null, "completeTime": null, "status": 0, "paymentStatus": "2", "tradeNo": "4200001183202109113936829347", "paymentType": "1", "amount": 0.01, "paymentTime": "2021-09-11T16:13:11.000+0800", "buyerUserId": null, "buyerLogonId": "oAyPp6jGd7nOAxmFv8Yk3qLo9-qo", "beginCreateTime": null, "endCreateTime": null, "address": null, "name": null, "phone": null, "goodsId": 2 }, { "searchValue": null, "createBy": null, "createTime": "2021-09-11 16:09:27", "updateBy": null, "updateTime": "2021-09-11 16:09:38", "remark": null, "params": { }, "id": 4, "addressId": 3, "deviceNumber": "29b4e2f5d01fd383d85d4ae9b81d14ec7", "orderNumber": "GM2021091116092795436692", "productName": "黑白卡", "productInfo": "", "productType": "0", "productImage": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/916a78c1-932a-4d42-9806-6cc75240c95d.png", "number": 1, "productPrice": 0.01, "huluNumber": null, "courierCompany": null, "courierNumber": null, "completeTime": null, "status": 0, "paymentStatus": "2", "tradeNo": "4200001155202109110446207239", "paymentType": "1", "amount": 0.01, "paymentTime": "2021-09-11T16:09:37.000+0800", "buyerUserId": null, "buyerLogonId": "oAyPp6jGd7nOAxmFv8Yk3qLo9-qo", "beginCreateTime": null, "endCreateTime": null, "address": null, "name": null, "phone": null, "goodsId": 2 }, { "searchValue": null, "createBy": null, "createTime": "2021-09-11 16:04:41", "updateBy": null, "updateTime": "2021-09-11 16:04:55", "remark": null, "params": { }, "id": 3, "addressId": 3, "deviceNumber": "29b4e2f5d01fd383d85d4ae9b81d14ec7", "orderNumber": "GM2021091116044056618751", "productName": "黑白卡", "productInfo": "", "productType": "0", "productImage": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/916a78c1-932a-4d42-9806-6cc75240c95d.png", "number": 1, "productPrice": 0.01, "huluNumber": null, "courierCompany": null, "courierNumber": null, "completeTime": null, "status": 0, "paymentStatus": "2", "tradeNo": "4200001186202109118755949538", "paymentType": "1", "amount": 0.01, "paymentTime": "2021-09-11T16:04:54.000+0800", "buyerUserId": null, "buyerLogonId": "oAyPp6jGd7nOAxmFv8Yk3qLo9-qo", "beginCreateTime": null, "endCreateTime": null, "address": null, "name": null, "phone": null, "goodsId": 2 } ], "code": 200, "msg": "查询成功" }