文档
测试

订单列表(2022.6.1修改)

POST
http://localhost/userOrder/getOrderList

接口描述

2022.6.1修改 增加是否需要填写退款物流字段needLogistics和是否填写了退款物流字段completeLogistics

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:18779798214
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyUGhvbmUiOiIxODc3OTc5ODIxNCIsImV4cCI6MTY5MTY2MDk5OSwidXNlcklkIjo0MjA5fQ.kQmhXk8gEUsiqOyhgLBybkZSCSqozIqV_tthCC69buU
必填
state
int
示例:0
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
orderList
array
数据列表
必填
button
object
数据字典
必填
applyBillingButton
boolean
示例:false //申请开票
必填
applyRefundButton
boolean
示例:false //申请退款
必填
cancelOrderButton
boolean
示例:false //取消订单
必填
confirmReceiptButton
boolean
示例:false //确认收货
必填
deleteOrderButton
boolean
示例:false //删除订单
必填
evaluateButton
boolean
示例:false //评价
必填
modifyAddressButton
boolean
示例:false //修改地址
必填
offlineDeliveryButton
boolean
示例:false // 线下提货
必填
payButton
boolean
示例:false //支付
必填
refundDetailsButton
boolean
示例:false //退款详情
必填
reminderDelivery
boolean
示例:false // 提醒发货
必填
repurchaseButton
boolean
示例:false //再次购买
必填
reversalEvaluationButton
boolean
示例:true //去评估
必填
revokeRefundButton
boolean
示例:false //撤销退款申请
必填
viewLogisticsButton
boolean
示例:false //查看物流
必填
sendButton
boolean
服务包赠送
必填
completeLogistics
boolean
示例:false
必填
count
int
示例:1
必填
couponState
int
示例:0
必填
deliveryTime
string
示例:付款后3天内发货
必填
estimatedTime
string
示例:预计发货后一周内送达
必填
goodsId
int
示例:105
必填
goodsType
int
示例:16
必填
id
int
示例:3876
必填
logisticsStatus
string
示例:暂无轨迹
必填
name
string
示例:糖尿病问诊二
必填
needLogistics
boolean
示例:false
必填
orderCondition
string
示例:已评估
必填
orderNumber
string
示例:
必填
orderState
int
示例:3
必填
packageId
int
示例:0
必填
payPrice
float
示例:0.01
必填
picture
string
示例:https://tj-data-bak-to-test20221028.oss-cn-hangzhou.aliyuncs.com/uploadFiles/images/resource/d79b5035-e0bf-4b7e-a6ee-2c232a2790f1.png
必填
price
float
示例:0.01
必填
productAttribute
string
示例:299(糖尿病问诊二)
必填
productID
string
示例:
必填
refundBool
boolean
示例:false
必填
refundState
int
示例:0
必填
servicePackId
int
服务包id
必填
sendMessage
string
已赠送
必填
state
int
示例:1
必填

响应格式

{ "msg": "查询成功", "orderList": [ { "completeLogistics": true, //是否填了写退款物流 "count": 1, "couponState": 0, "deliveryTime": "", "estimatedTime": "等待商家处理订单申请", "goodsId": 18, "goodsType": 1, "id": 1844, "logisticsStatus": "等待商家处理申请", "name": "尊享 VIP 服务包", "needLogistics": true, //是否需要填写退款单号 "orderCondition": "等待商家处理申请", "orderNumber": "", "orderState": 3, "packageId": 4, "payPrice": 1, "picture": "https://tj-data-test.oss-cn-hangzhou.aliyuncs.com/uploadFiles/images/resource/premiumVIPServicePackage.png", "price": 1, "productAttribute": "月卡", "productID": "com.mzk.client.vip_package.month", "refundBool": true } ], "state": 1 }