**简要描述:** - 订单列表 **请求URL: - ` /api/order/lists?type=all ` **请求方式: - GET **参数: |参数名 |必选 |类型 |说明 |参数示例 | |:--|:--|:--|:--|:--| |type |是 |var |购买商品 |all -- pay:待支付;delivery:待收货;finish:已完成;close:已关闭;| **返回示例 { "code": 1, "show": 0, "msg": "获取成功", "data": { "list": [ { "id": 4, "order_sn": "202105201009314747", "order_status": 1, "pay_status": 1, "order_amount": "15.00", "order_type": 0, "shipping_status": 0, "create_time": "2021-05-20 10:09:31", "shop_id": 2, "orderGoods": [ { "id": 9, "order_id": 4, "goods_id": 8, "item_id": 8, "goods_num": 3, "goods_name": "测试2的商品", "goods_price": "5.00", "total_price": "15.00", "total_pay_price": "15.00", "discount_price": null, "spec_value": "默认", "spec_value_ids": "8", "image": "http://www.likeshopb2b2c.localhost/uploads/images/20210506101903c06bb8343.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 10:09:31", "settle_id": 0, "settle_amount": null } ], "shop": { "id": 2, "name": "水果店", "type": 2 }, "goods_count": 1, "pay_btn": 0, "cancel_btn": 0, "delivery_btn": 0, "take_btn": 0, "del_btn": 0, "comment_btn": 0, "order_cancel_time": "" }, { "id": 3, "order_sn": "202105201009316060", "order_status": 1, "pay_status": 1, "order_amount": "330.00", "order_type": 0, "shipping_status": 0, "create_time": "2021-05-20 10:09:31", "shop_id": 1, "orderGoods": [ { "id": 7, "order_id": 3, "goods_id": 9, "item_id": 9, "goods_num": 3, "goods_name": "防晒衣女短款2021夏季新款韩版洋气纯色连帽透气防晒服女士薄外套", "goods_price": "50.00", "total_price": "150.00", "total_pay_price": "150.00", "discount_price": null, "spec_value": "s,白", "spec_value_ids": "9,14", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/20210512101851215882180.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 10:09:31", "settle_id": 0, "settle_amount": null }, { "id": 8, "order_id": 3, "goods_id": 9, "item_id": 11, "goods_num": 3, "goods_name": "防晒衣女短款2021夏季新款韩版洋气纯色连帽透气防晒服女士薄外套", "goods_price": "50.00", "total_price": "150.00", "total_pay_price": "150.00", "discount_price": null, "spec_value": "s,黑", "spec_value_ids": "9,16", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/20210512101851215882180.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 10:09:31", "settle_id": 0, "settle_amount": null } ], "shop": { "id": 1, "name": "手机店", "type": 1 }, "goods_count": 2, "pay_btn": 0, "cancel_btn": 0, "delivery_btn": 0, "take_btn": 0, "del_btn": 0, "comment_btn": 0, "order_cancel_time": "" }, { "id": 2, "order_sn": "202105200958205913", "order_status": 1, "pay_status": 1, "order_amount": "15.00", "order_type": 0, "shipping_status": 0, "create_time": "2021-05-20 09:58:20", "shop_id": 2, "orderGoods": [ { "id": 6, "order_id": 2, "goods_id": 8, "item_id": 8, "goods_num": 3, "goods_name": "测试2的商品", "goods_price": "5.00", "total_price": "15.00", "total_pay_price": "15.00", "discount_price": null, "spec_value": "默认", "spec_value_ids": "8", "image": "http://www.likeshopb2b2c.localhost/uploads/images/20210506101903c06bb8343.jpg", "shipping_status": 0, "delivery_id": 0, "refund_status": 0, "is_comment": 0, "commission_ratio": null, "create_time": "2021-05-20 09:58:20", "settle_id": 0, "settle_amount": null } ], "shop": { "id": 2, "name": "水果店", "type": 2 }, "goods_count": 1, "pay_btn": 0, "cancel_btn": 0, "delivery_btn": 0, "take_btn": 0, "del_btn": 0, "comment_btn": 0, "order_cancel_time": "" } ], "page": 1, "size": 15, "count": 3, "more": 0 } } ```