文档
测试

订单列表

POST
app/yxh/listProDetail

接口描述

历史订单

请求参数

参数名
类型
描述
必填
state
number
订单类型 0-全部 1-待付款 2-待发货 3-待收货(待自提)
可选
proName
string
商品名称
可选

响应参数

参数名
类型
描述
必填
message
string
示例:订单列表
必填
status
string
示例:success
必填
data
object
数据字典
必填
pageInfo
object
数据字典
必填
pageSize
number
示例:30
必填
page
number
示例:1
必填
totalCount
number
示例:2
必填
totalPages
number
示例:1
必填
offset
number
示例:0
必填
nextPage
number
示例:1
必填
lastPage
boolean
示例:true
必填
firstPage
boolean
示例:true
必填
prePage
number
示例:1
必填
hasPrePage
boolean
示例:false
必填
hasNextPage
boolean
示例:false
必填
startRow
number
示例:1
必填
endRow
number
示例:2
必填
slider
array
数据列表
必填
list
array
数据列表
必填
postNo
string
邮寄单号 示例:
必填
state
string
订单状态 示例:1 {1-待付款 2-待发货 3-待收货(待自提)}
必填
shopId
number
商铺ID 示例:1
必填
userId
number
app用户ID 示例:5
必填
skuId
number
示例:7
必填
limitBuyNum
number
sku限购数量 示例:2
必填
logo
string
商家LOGO 示例:http://192.183.2.228/static//upload/uploadify/2019121/0efa64ce-6232-49b3-9af3-f40d7f57ee94_S_100_100.png
必填
orgPrice
number
原价金额 示例:9
必填
recWay
string
收货方式 示例:1 {0-自提 1-邮寄}
必填
proType
string
邮享惠类型 示例:2 {1-爆款 2-基础款 3-电子券}
必填
buyNum
number
购买数量 示例:1
必填
skuName
string
sku名称 示例:葵王食用油900ml
必填
typeName
string
商品类型 示例:食品
必填
price
number
实付金额 示例:8.1
必填
recPhone
string
收货人手机号 示例:18998019057
必填
skuNo
string
示例:ca33784b-3644-4913-bcfb-945a7b54a34e
必填
shopName
string
商铺名称 示例:东莞市邮政局
必填
postState
string
邮寄状态 示例:0 {0-待发货 1-已发货 2-已收货}
必填
skuImage
string
sku图片 示例:http://192.183.2.228/static//upload/uploadify/2019121/8ff3782e-b22b-48e7-a364-016e531d7cc7_S_360_360.jpg
必填
brand
string
商品品牌 示例:葵王
必填
recAddr
string
收货地址 示例:南城区三元路6号
必填
disPrice
number
优惠金额 示例:0.9
必填
recName
string
收货人 示例:东需弗首
必填
detailId
number
订单ID 示例:22
必填
proUnit
string
商品单位 示例:瓶
必填
skuPrice
number
sku单价金额
必填
scaleVals
string
sku规格值
必填
orderId
number
订单明细ID
必填

说明 / 示例

```json { "message": "订单列表", "status": "success", "data": { "pageInfo": { "pageSize": 30, "page": 1, "totalCount": 2, "totalPages": 1, "offset": 0, "nextPage": 1, "lastPage": true, "firstPage": true, "prePage": 1, "hasPrePage": false, "hasNextPage": false, "startRow": 1, "endRow": 2, "slider": [1] }, "list": [{ "orderId": 1, "addrId": 1, "postNo": "", "state": "1", "shopId": 1, "userId": 5, "skuId": 7, "limitBuyNum": 2, "logo": "http://192.183.2.228/static//upload/uploadify/2019121/0efa64ce-6232-49b3-9af3-f40d7f57ee94_S_100_100.png", "orgPrice": 9.0, "skuPrice": 9.0, "scaleVals": 900ML, "recWay": "1", "proType": "2", "buyNum": 1, "skuName": "葵王食用油900ml", "typeName": "食品", "price": 8.1, "recPhone": "18998019057", "skuNo": "ca33784b-3644-4913-bcfb-945a7b54a34e", "shopName": "东莞市邮政局", "postState": "0", "skuImage": "http://192.183.2.228/static//upload/uploadify/2019121/8ff3782e-b22b-48e7-a364-016e531d7cc7_S_360_360.jpg", "brand": "葵王", "recAddr": "南城区三元路6号", "disPrice": 0.9, "recName": "东需弗首", "detailId": 22, "proUnit": "瓶" }, { "orderId": 2, "deptName": "石龙腾龙", "logo": "http://192.183.2.228/static//upload/uploadify/2019121/0efa64ce-6232-49b3-9af3-f40d7f57ee94_S_100_100.png", "orgPrice": 3.0, "skuPrice": 3.0, "scaleVals": "L,400g,白色", "weight": 400, "recWay": "0", "proType": "1", "state": "1", "buyNum": 1, "skuName": "中盐纯精岩盐400g", "typeName": "食品", "price": 1.0, "skuNo": "b7cd0435-3275-4baa-805b-d80b99153315", "shopName": "东莞市邮政局", "shopId": 1, "skuImage": "http://192.183.2.228/static//upload/uploadify/2019121/8b5e09a5-62b6-42a9-8ec3-9d7093bea08f_S_360_360.jpg", "userId": 5, "skuId": 6, "brand": "中盐", "disPrice": 2.0, "deptId": 731, "proUnit": "袋", "limitBuyNum": 1, "detailId": 22 }] } }