💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 获取订单列表 **请求URL:** - ` kefuapi/chat/order` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | | user_id | 是 | int | 用户id | | order_sn | 否 | int | 订单号 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "list": [{ "id": 1297, "order_sn": "202109071731025411", "order_type": 0, "order_status": 1, "order_amount": "30.00", "create_time": "2021-09-07 17:31:02", "order_goods": [{ "id": 1296, "order_id": 1297, "goods_id": 18, "item_id": 54, "goods_name": "日式调味罐陶瓷套装 饭店调料罐带盖商用装盐罐 辣椒油罐家用厨房", "goods_price": "30.00", "spec_value": "默认", "image": "https://likeshopb2b2c.yixiangonline.com/uploads/images/202106291558089be195274.png", "goods_num": 1, "is_comment": 0, "refund_status": 0, "commission_ratio": null, "total_pay_price": "30.00" }], "order_status_text": "待发货", "order_type_text": "普通订单" }], "page": 1, "size": 15, "count": 1, "more": 0 } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | | order_sn | string | 订单编号 | | order_status_text | string | 订单状态 | | order_amount | string | 应付金额 | | create_time | string | 下单时间 | | order_goods | array | 订单商品 | | ----goods_name | string | 商品名称 | | ----goods_price | string | 商品单价 | | ----image | string | 商品主图 | | ----spec_value | string | 商品规格 | | ----goods_num | int| 商品数量 |