### 获取会员订单列表
>[success] status 0 已经取消的订单,包含已经退款的订单
> status 1 预订单,还没有收货地址,需要确认后才能支付(无此状态)
> status 2 新订单,待支付状态
> status 3 已支付,待发货(无此状态)
> status 4 已发货,待完成收货(无此状态)
> status 5 已确认收货,订单完成
>[danger] cancel_state 0 订单未取消
> cancel status 1 订单已经取消
>[success] refund_state 0 订单未发生退款
> refund_state 1 订单需要退款(待退款)
> refund_state 2 订单已经未完成退款
>[info] pay_state 0 订单未支付
> pay_state 1 订单已经完成支付
~~~[api]
post:https://huangjinjiangan.xiaoding.shop/store/api.member.order/gets
*string:mid=1#会员ID
*string:openid=odTi05FZpmC4DrQiXPxKnOApkHpA#微信用户OPENID
string:page#指定当前分页
string:status#指定订单状态
string:order_no#指定订单号
<<<
success
{
"code": 1,
"info": "获取订单列表成功!",
"data": {
"page": {
"limit": 20,
"total": 2,
"pages": 1,
"current": 1
},
"list": [
{
"id": 2,
"mid": 1,
"device_id": 6565657,
"order_no": 648493034687,
"price_total": "100.00",
"pay_state": 0,
"pay_type": "",
"pay_price": "0.00",
"pay_no": "",
"pay_at": null,
"cancel_state": 0,
"cancel_at": null,
"cancel_desc": "",
"refund_state": 0,
"refund_at": null,
"refund_no": "",
"refund_price": "0.00",
"refund_desc": "",
"status": 2,
"is_deleted": 0,
"create_at": "2019-01-26 16:57:14",
"goods_count": 1,
"list": [
{
"id": 2,
"mid": 1,
"order_no": 648493034687,
"goods_id": 6484849768,
"goods_title": "测试商品",
"goods_logo": "https://ssl.cdn.cuci.cc/decb0fe26fa3f486/b3f6521bf29403c8.png",
"goods_price": "100.00",
"real_price": "100.00",
"number": 1,
"create_at": "2019-01-26 16:57:14"
}
]
},
{
"id": 1,
"mid": 1,
"device_id": 6565657,
"order_no": 648491950658,
"price_total": "100.00",
"pay_state": 0,
"pay_type": "",
"pay_price": "0.00",
"pay_no": "",
"pay_at": null,
"cancel_state": 0,
"cancel_at": null,
"cancel_desc": "",
"refund_state": 0,
"refund_at": null,
"refund_no": "",
"refund_price": "0.00",
"refund_desc": "",
"status": 2,
"is_deleted": 0,
"create_at": "2019-01-26 16:39:10",
"goods_count": 1,
"list": [
{
"id": 1,
"mid": 1,
"order_no": 648491950658,
"goods_id": 6484849768,
"goods_title": "测试商品",
"goods_logo": "https://ssl.cdn.cuci.cc/decb0fe26fa3f486/b3f6521bf29403c8.png",
"goods_price": "100.00",
"real_price": "100.00",
"number": 1,
"create_at": "2019-01-26 16:39:10"
}
]
}
]
}
}
<<<
error
{
"code": 0,
"info": "创建订单失败参数失败!签名错误",
"data": []
}
~~~