## 订单列表
>接口说明
分页查询订单信息
>接口请求说明
HTTP请求格式: application/json
>接口参数说明
~~~[api]
get:/api/miniapp/orders/pageList?sessionId=
*string:sessionId#sessionID
string:orderStatus#订单状态,0:待支付,1:待分配,2:配送中,3:已过期,4:已完成,5:已取消,9:待确认
string:dateType#日期类型,1:当天,2:昨天,7:一周,30:一月,180:半年
int:pageNumber#页数
int:pageSize#每页显示记录数
<<<
success
[
{
"id": "4028e7a460dec37f0160dedc104c0002",
"orderNum": "DE15155674522330161",
"orderType": "delivery",
"createDate": 1515567452000,
"amount": 18,
"payAmount": 0,
"paymentMethod": 1,
"paymentStatus": 1,
"expireDate": null,
"orderStatus": 0,
"completeDate": null,
"deliveryStatus": 0,
"confirmStatus": 0,
"assignDate": null,
"confirmDate": null,
"processDate": 1515567452000,
"pickingDate": null,
"fromLocationName": "鹿城区广场路188号鹿城区行政中心1号楼",
"fromAddress": "广场路188号鹿城区行政中心1号楼",
"toLocationName": "鹿城区高新路25号",
"toAddress": "高新路25号",
"remarks": "尽快送到",
"paymentMethodLabel": "微信支付",
"paymentStatusLabel": "未支付",
"orderStatusLabel": "待支付",
"deliveryStatusLabel": "未接单",
"riderCollection": false,
"assignMode": 0,
"assignRiderId": null,
"assignRiderName": null,
"rewardAmount": 0,
"fromName": "温州美速食餐饮店",
"fromCellphone": "15869649360",
"fromLat": 28.020741,
"fromLng": 120.661726,
"toName": "陈大发",
"toCellphone": "15869649360",
"toLat": 27.979149621821,
"toLng": 120.641544044386,
"distance": 6.744,
"collection": null,
"payment": null,
"customRealName": null,
"customCellphone": "13588960670",
"customPhone": null,
"customDetailAddress": null,
"riderRealName": null,
"riderCellphone": null,
"riderAvatarUrl": null,
"logRes": null,
"bespeakPickupTime": "11:45"
},
{
"id": "4028e7ad60d8b8570160d8c708d50003",
"orderNum": "DE15154654107561850",
"orderType": "delivery",
"createDate": 1515465411000,
"amount": 58,
"payAmount": 0,
"paymentMethod": 1,
"paymentStatus": 1,
"expireDate": null,
"orderStatus": 0,
"completeDate": null,
"deliveryStatus": 0,
"confirmStatus": 0,
"assignDate": null,
"confirmDate": null,
"processDate": 1515465410000,
"pickingDate": null,
"fromLocationName": "浙江省杭州市江干区学府街515号",
"fromAddress": "123",
"toLocationName": "杭州市上城区西湖风景区",
"toAddress": "我去了",
"remarks": "123",
"paymentMethodLabel": "微信支付",
"paymentStatusLabel": "未支付",
"orderStatusLabel": "待支付",
"deliveryStatusLabel": "未接单",
"riderCollection": true,
"assignMode": 0,
"assignRiderId": null,
"assignRiderName": null,
"rewardAmount": 0,
"fromName": "哈哈",
"fromCellphone": "13588960670",
"fromLat": 30.3102,
"fromLng": 120.3714,
"toName": "陈丽懂",
"toCellphone": "13588960670",
"toLat": 30.239805393577,
"toLng": 120.15731528212,
"distance": 26.2,
"collection": null,
"payment": null,
"customRealName": null,
"customCellphone": "13588960670",
"customPhone": null,
"customDetailAddress": null,
"riderRealName": null,
"riderCellphone": null,
"riderAvatarUrl": null,
"logRes": null,
"bespeakPickupTime": null
}
]
<<<
error
{
"path": "/api/miniapp/orders/pageList",
"message": "Session不存在或已失效!",
"status": 401,
"timestamp": 1515571840639
}
~~~
>接口请求示例
~~~
/api/miniapp/orders/pageList?sessionId=8a9fb65b60da56c10160de100de700aa1&pageNumber=1&pageSize=2
~~~