**简要描述:** - 获取订单列表 **请求URL:** - ` api/order/lists` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |type |必选 |string |订单类型;all-全部;pay-待付款;delivery-待收货;finish-已完成;close-已关闭 | **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "list": [{ "id": 7, "order_sn": "202010231634407695", "order_status": 0, "pay_status": 0, "order_amount": "6440.00", "shipping_status": 0, "create_time": "2020-10-23 16:34:40", "order_goods": [{ "id": 13, "order_id": 7, "goods_id": 9, "item_id": 33, "goods_name": "快乐辣条", "goods_price": "42.00", "spec_value": "默认", "image": "http:\/\/likeshop.yixiangonline.com\/uploads\/images\/20200710\/d0627f95f0eb13fa27b92990aa6704f0.jpg", "goods_num": 1, "is_comment": 0, "refund_status": 0, "commission_ratio": null, "total_pay_price": "42.00" }], "page": 1, "size": 15, "count": 4, "more": 0 }, "show": 0, "time": "0.287718" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |订单id |order_sn |int |订单编号 |order_amount |int |实付金额 |goods_count |int |订单商品总量 |order_status |int |订单状态;0-待付款;1-待发货;2-待收货;3-已完成;4-已关闭, |pay_btn |int |是否显示待支付按钮;1-是;0-否 |cancel_btn |int |是否显示取消订单按钮;1-是;0-否 |delivery_btn |int |是否显示查看物流按钮;1-是;0-否 |take_btn |int |是否显示确定收货按钮;1-是;0-否 |del_btn |int |是否显示删除订单按钮;1-是;0-否 |comment_btn |int |是否显示评论按钮;1-是;0-否 |order_cancel_time |int |订单自动取消时长 |order_goods |array |订单商品 |----goods_id |int |商品id |----goods_name |int |商品名称 |----spec_value |string |规格名称 |----image |string |商品图片 |----goods_num | int | 商品数量 |----goods_price | int | 商品价格 **备注** - 这里是备注信息