~~~[api]
get:/order/getOrderList
*string:userId#
type#1.待付款;2.待发货;3.待收货;4.售后/退款,为空取全部
<<<
success
{
"code": "00000",
"data": {
"orderList": [
{
"orderId": "202101141715053827785",
"orderStatus": "1",订单状态 1.待付款;2.待发货;3.待收货;4.已完成;5.用户取消;6:平台取消;7:超时关闭;8:退款
"orderStatusName": "待付款",订单状态名称
"payType": null,
"payTypeName": null,
"payStatus": "1", 支付状态 1:未支付;2:支付中;3:已支付;
"payStatusName": "未支付",支付状态名称
"payTime": null,支付时间
"goodsNum": 1,商品数量
"goodsPrice": 159,商品金额(商品总金额,单个商品金额*商品数量)
"orderPrice": 100,订单金额(现金+积分+运费)
"useCash": 100,//现金支付(微信支付)
"useBanlance": 0,使用余额(当前下单不支持用余额)
"useIntegral": 0,使用积分
"couponPrice": 10,
"freight": 0, 运费
"name": "二丫",
"tel": "15868167114",
"province": "浙江省",
"city": "杭州市",
"district": "滨江区",
"address": "华业大厦",
"createTime": "2021-01-14 17:15:05",
"orderGoodsId": 1,
"goodsName": "好吃的牛杂",
"goodsImage": "",
"refundStatus": "1", 退货状态 1:无退款;2:退款申请中;3:退款中;4:退款完成;5:退款失败;',
"refundFailReason": null 退款失败理由,
"goodsSalePrice": 商品单价
}
]
},
"onceToken": "",
"info": "获取订单列表成功"
}
<<<
error
~~~