文档
测试

获取订单列表

POST
Order/getOrderList

接口描述

获取订单列表,只获取被支付后状态的订单

请求参数

参数名
类型
描述
必填
beginDate
string
开始日期 YYYY-MM-DD 格式 如2020-09-20 默认一个月时间
必填
endDate
string
结束日期 YYYY-MM-DD 格式 如2020-09-20 默认一个月时间
必填
page
int
页码
必填
pageSize
int
分页条数
必填
filter
string
暂时传空 需要查询这么传 filter: {"name":"奔跑"}
必填
sort
string
暂时传空 需要排序这么传sort: {"prop":"orderNo","order":"asc"}
必填

说明 / 示例

{ "code": 200, "msg": "成功", "data": { "list": [数据 { "id": 550, "orderNo": "20200920220137d6729c",订单号 "name": "fff",姓名 "mobile": "13223232323",手机号 "money": 230,订单金额 "payMoney": 230,支付金额 "isold": 0,是否老客 1-是 0-否 "addressType": 1, 地址类型 1邮寄 2-自提 "status": 1,状态 0-创建待支付 1-已完成 2-已退款(未发货) 3-已取消(未支付)4-已退款(已发货) "detailInfo": [订单详情 { "id": 81, "orderId": "550", "goodsId": 1, "orderNo": "20200920220137d6729c", "realPrice": 228, "price": 228, "versionId": 81, "nums": 1, "skuId": null, "updated_at": "2020-09-19 11:22:40", "created_at": "2020-09-19 11:22:40", "deleted_at": null, "remark": "", "imgIds": null, "bannerIds": "28,27,24", "name": "刺芹", "introduce": null, "classId": 1, "labelId": "0", "coverImgId": 24, "pagedetail": "{\"list\":[{\"options\":{\"width\":375,\"height\":1327,\"backgroundImage\":\"\"},\"key\":\"1600263537000_24221\",\"model\":\"moudles_1600263537000_24221\",\"widgets\":[{\"type\":\"image\",\"name\":\"\\u56fe\\u7247\",\"size\":[\"w\",\"h\"],\"options\":{\"width\":375,\"height\":\"1327\",\"top\":0,\"left\":0,\"z-index\":0,\"opacity\":1,\"backgroundImage\":\"http:\\/\\/huadian.test.upcdn.net\\/\\/diypage\\/2020-09-15\\/0602\\u4e0a\\u65b0-\\u5355\\u54c1-1-01_1600169947.jpg\",\"keep\":true},\"key\":\"1600263537000_24221\",\"model\":\"moudles_1600263537000_24221\"}]},{\"options\":{\"width\":375,\"height\":600,\"backgroundImage\":\"\"},\"key\":\"1600263570000_98306\",\"model\":\"moudles_1600263570000_98306\",\"widgets\":[{\"type\":\"image\",\"name\":\"\\u56fe\\u7247\",\"size\":[\"w\",\"h\"],\"options\":{\"width\":375,\"height\":\"600\",\"top\":0,\"left\":0,\"z-index\":0,\"opacity\":1,\"backgroundImage\":\"http:\\/\\/huadian.test.upcdn.net\\/\\/diypage\\/2020-09-15\\/\\u5361\\u7247\\u5305\\u88c5-01_1600165523.jpg\",\"keep\":true},\"key\":\"1600263574000_82490\",\"model\":\"moudles_1600263574000_82490\"}]},{\"options\":{\"width\":375,\"height\":944,\"backgroundImage\":\"\"},\"key\":\"1600263679000_36740\",\"model\":\"moudles_1600263679000_36740\",\"widgets\":[{\"type\":\"image\",\"name\":\"\\u56fe\\u7247\",\"size\":[\"w\",\"h\"],\"options\":{\"width\":375,\"height\":\"944\",\"top\":0,\"left\":0,\"z-index\":0,\"opacity\":1,\"backgroundImage\":\"http:\\/\\/huadian.test.upcdn.net\\/\\/diypage\\/2020-09-10\\/detail2_1599719715.jpg\",\"keep\":true},\"key\":\"1600263682000_36352\",\"model\":\"moudles_1600263682000_36352\"}]}],\"config\":{\"share\":true,\"coverimage\":\"\",\"sharetitle\":\"\",\"sharedescription\":\"\"}}", "skus": "28", "unit": "1" } ], "payinfo": [ 支付信息 { "id": 121, "orderNo": "20200920220137d6729c", "status": 2, "updated_at": "2020-10-13T12:19:16.000000Z", "created_at": null, "deleted_at": null, "remark": null, "payType": 1, "out_trade_no": "2147483647", "third_finance_id": "qrewqrjlwqr", "money": 110, "text": "微信" }, { "id": 122, "orderNo": "20200920220137d6729c", "status": 2, "updated_at": "2020-10-13T12:19:16.000000Z", "created_at": null, "deleted_at": null, "remark": null, "payType": 1, "out_trade_no": "2147483647", "third_finance_id": "qrewqrjlwqr", "money": null, "text": "微信" }, { "id": 123, "orderNo": "20200920220137d6729c", "status": 2, "updated_at": "2020-10-13T12:19:16.000000Z", "created_at": null, "deleted_at": null, "remark": null, "payType": 1, "out_trade_no": "2147483647", "third_finance_id": "qrewqrjlwqr", "money": 108, "text": "微信" } ] } ], "total": 2 } }