```javascript
WXAPI.orderList({
token: ''
})
```
+ token 当前用户登录凭证
+ page 获取第几页数据,不传该参数默认为1
+ pageSize 每页获取几条记录,不传该参数默认为50
+ dateAddBegin 下单时间起,格式 2018-05-16 15:39:38
+ dateAddEnd 下单时间止,格式 2018-05-16 15:39:38
+ status 订单状态,-1 已关闭 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价
+ statusBatch 批量拉取多种状态订单,多个状态之间用逗号隔开,-1 已关闭 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价
+ statusOuterBatch 批量拉取 status_outer 状态,多个状态之间用逗号隔开
+ goodsId 商品ID
+ type2 创建订单时候传的 extType
+ showAttendant 显示接单技师信息
[「请求参数说明点击这里进行查看」](https://api.it120.cc/doc.html#/%E5%89%8D%E7%AB%AFapi%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E8%AE%A2%E5%8D%95%E7%AE%A1%E7%90%86/listUsingPOST_105)
```json
{
"code": 0,
"data": {
"totalRow": 40,
"logisticsMap": {
"1238758": {
"address": "快递详细收货地址",
"areaStr": "西湖区",
"cityId": "330100000000",
"cityStr": "杭州市",
"districtId": "330106000000",
"id": 1238758,
"linkMan": "张三",
"mobile": "13500000000",
"provinceId": "330000000000",
"provinceStr": "浙江省",
"status": -1,
"streetId": "330106109000",
"type": 0
}
},
"totalPage": 40,
"orderList": [
{
"amount": 189,
"amountCard": 0,
"amountCoupons": 0,
"amountLogistics": 0,
"amountReal": 189,
"amountRefundTotal": 0,
"amountTax": 0,
"amountTaxGst": 0,
"amountTaxService": 0,
"autoDeliverStatus": 0,
"dateAdd": "2021-12-10 14:09:50",
"dateClose": "2021-12-10 14:20:50",
"dateUpdate": "2021-12-10 14:21:10",
"differHours": 101,
"goodsNumber": 1,
"hasRefund": false,
"id": 1238758,
"ip": "1.2.3.4",
"isCanHx": false,
"isDelUser": false,
"isEnd": false,
"isHasBenefit": false,
"isNeedLogistics": true,
"isPay": false,
"isScoreOrder": true,
"isSuccessPingtuan": false,
"jd8Status": 0,
"orderNumber": "21121014099510005",
"orderType": 0,
"periodAutoPay": false,
"pid": 0,
"qudanhao": "0005",
"refundStatus": 0,
"remark": "",
"score": 1,
"scoreDeduction": 0,
"shopId": 0,
"status": -1,
"statusStr": "订单关闭",
"trips": 0,
"type": 0,
"uid": 1351478,
"userId": 951
}
],
"goodsMap": {
"1238758": [
{
"afterSale": "0,1,2",
"amount": 189,
"amountCoupon": 0,
"amountSingle": 189,
"amountSingleBase": 189,
"barCode": "a0000000001",
"buyRewardEnd": false,
"categoryId": 1872,
"cyTableStatus": 0,
"dateAdd": "2021-12-10 14:09:50",
"fxType": 2,
"goodsId": 4232,
"goodsName": "兔毛马甲",
"goodsSubName": "bieming",
"id": 1956214,
"isProcessHis": true,
"isScoreOrder": true,
"number": 1,
"numberNoFahuo": 1,
"orderId": 1238758,
"pic": "https://cdn.it120.cc/apifactory/2019/06/25/76d3c433-96ea-4f41-b149-31ea0983cd8f.jpg",
"propertyChildIds": "",
"purchase": false,
"refundStatus": 0,
"saleDateEnd": "2021-12-21 09:58:28",
"score": 1,
"shopId": 0,
"status": -1,
"type": 0,
"uid": 1351478,
"unit": "份",
"userId": 951
}
]
}
},
"msg": "success"
}
```
# orderList 订单基础数据列表
+ id 订单ID
+ orderNumber 订单号
+ amount 货款
+ amountReal 实际需要支付金额
+ amountCoupons 优惠券抵扣金额
+ amountCard 会员卡抵扣金额
+ amountLogistics 运费
+ deductionMoney 优惠金额
+ couponUserList 本次下单可以选择使用的优惠券数组
+ amountTotle 订单总金额
+ goodsNumber 商品数量
+ score 需要扣除多少积分
+ amountRefundTotal 退款总金额
+ amountTax 税费
+ amountTaxGst GST消费税
+ amountTaxService 服务费
+ dateAdd 下单时间
+ dateClose 预计取消订单时间(可以提醒用户在这个时间之前完成支付)
+ differHours 下单离现在相差多少个小时
+ qudanhao 订单号后4位的取单号
+ goodsNumber 商品数量
+ hasRefund 该订单是否有退款
+ ip 下单IP地址
+ isCanHx 当前订单是否支持核销
+ isEnd 订单是否完结(完结以后不允许申请售后,该状态建议隐藏退货按钮)
+ isNeedLogistics 是否需要快递
+ isPay 当前订单是否已支付
+ isScoreOrder 是否为积分订单(使用了积分进行支付的订单)
+ remark 用户下单备注
+ score 本次订单需要扣除多少积分
+ scoreDeduction 本次订单使用了多少积分进行抵扣
+ shopId 订单的所属门店ID
+ status 订单状态 -1 关闭订单 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价
+ trips 小费金额
+ type 0 普通订单 1 周期订单 2 扫码点餐订单 3 京东vop订单 4 从区管进货
# 收货地址 logisticsMap
logisticsMap 用订单ID为key,对应的对象为该订单的收货地址信息
# 订单商品信息 goodsMap
goodsMap 用订单ID为key,对应的对象为该笔订单的商品信息数组
+ goodsName 商品名称
+ goodsSubName 商品名称副标题
+ pic 商品图片
+ amountSingle 商品单价
+ number 商品数量
+ amount 商品总价