ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 订单列表 **请求URL:** - `/shopapi/order/lists` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | |:--|:--|:--|:--| | type | 是/否 | string |订单列表类型; pay-待支付;delivery-待发货,待收货; finish-已完成;close-已关闭| **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "lists": [ { "id": 15, "sn": "202108271043302486", "order_type": 0, "order_status": 3, "total_num": 2, "order_amount": "2799.00", "delivery_type": 2, "order_goods": [ { "order_id": 15, "goods_name": "小米10青春版", "goods_price": "2399.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "8GB+256GB,冰峰黑提" }, { "order_id": 15, "goods_name": "哈比树儿童滑滑梯室内汽车滑梯家用玩具宝宝小型秋千组合游乐园", "goods_price": "400.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "二合一(蓝色)" } ], "btn": { "pay_btn": 1, "cancel_btn": 1, "delivery_btn": 0, "confirm_btn": 0, "finish_btn": 0, "comment_btn": 0, "refund_btn": 0, "pickup_btn": 0 }, "order_status_desc": "已完成", "order_type_desc": "自提订单" } ], "count": 2, "page_no": 1, "page_size": 25, "extend": [] } } ``` **返回参数:** |参数名 |类型 |说明 | |:--|:--|:--| | sn | string | 订单编号 | | id | int | 订单id | | order_type | int | 订单类型:0-普通订单;1-拼团订单;2-秒杀订单;3-砍价订单 | | order_status | int | 订单状态;0-待付款;1-待发货;2-待收货;3-已完成;4-已关闭 | | total_num | int | 订单商品总数 | | order_amount | decimal | 订单应付金额 | | order_status_desc | string | 订单状态描述 | | order_type_desc | string | 订单类型描述 | | order_goods | array | 订单商品信息 | | ----goods_name | string | 商品名称 | | ----goods_price | decimal | 商品单价 | | ----goods_num | int | 商品数量 | | ----goods_image | string | 商品图片 | | ----spec_value_str | string | 商品规格值 | | btn | array | 按钮(1-显示;0-隐藏) | | ----pay_btn | int | 支付按钮 | | ----cancel_btn | int | 取消按钮 | | ----delivery_btn | int | 物流按钮 | | ----confirm_btn | int | 确认收货按钮 | | ----finish_btn | int | 完成按钮 | | ----comment_btn | int | 评论按钮 | | ----refund_btn | int | 申请退款按钮 | | ----pickup_btn | int | 查看提货码 |