文档
测试

全部订单记录

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

接口描述

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

响应参数

参数名
类型
描述
必填
addressId
string
收货地址id
必填
deviceInfoId
string
设备号id
必填
orderNumber
string
订单编号
必填
productName
string
商品名称
必填
productInfo
string
商品详情
必填
productType
string
支付类型(0金钱,1葫芦兑换)
必填
productImage
string
商品图片
必填
number
int
购买数量
必填
productPrice
double
商品价格
必填
huluNumber
int
葫芦个数
必填
courierCompany
string
快递公司类别
必填
courierNumber
string
快递单号
必填
completeTime
date
完成时间
必填
createTime
date
创建时间
必填
updateTime
date
发货时间
必填
status
int
状态(0待发货,1已发货,2已完成)
必填
id
int
id
必填

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": [ { "searchValue": null, "createBy": null, "createTime": "2021-06-07 15:57:32", "updateBy": null, "updateTime": "2021-06-11 18:09:34", "remark": null, "params": { }, "id": 12, "addressId": 1, "deviceInfoId": "28", "orderNumber": "1", "productName": "1123", "productInfo": "每天都是大冒险", "productType": "1", "productImage": "1", "number": 1, "productPrice": 1, "huluNumber": 100, "courierCompany": "423", "courierNumber": "666666", "completeTime": "2021-06-16 00:00:00", "status": 2, "goodsId": 43 }, { "searchValue": null, "createBy": null, "createTime": "2021-06-07 17:50:59", "updateBy": null, "updateTime": "2021-06-07 18:20:29", "remark": null, "params": { }, "id": 13, "addressId": 1, "deviceInfoId": "28", "orderNumber": "22", "productName": "135", "productInfo": "每天都是小冒险", "productType": "0", "productImage": "1", "number": 2, "productPrice": 4, "huluNumber": 200, "courierCompany": "424", "courierNumber": "2", "completeTime": "2021-06-08 09:49:58", "status": 0, "goodsId": 44 } ] }

请求参数

参数名
类型
描述
必填
deviceInfoId
String
设备号
必填
type
String
类别(0好礼,1好物,2全部)
必填