企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 获取砍价订单列表 **请求URL:** - ` api/bargain/orderList` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |type|是|int | 类型(‘’=全部,0=进行中,1=砍成功,2=砍失败) | **返回示例** ``` { "code": 1, "msg": { "list": [ { "id": 5, "bargain_id": 2, "goods_id": 2, "order_id": 0, "current_price": "1888.00", "status_text": "砍价中", "buy_btn": 0, "bargain_btn": 1, "pay_btn": 0, "bargain_tips": "须砍至最低价才可支付购买", "image": "http://qox6shunx.hn-bkt.clouddn.com/uploads/images/background/20201013/63b6e7cce6d7e2f54a926567a12b6a69.jpg", "price": "2088.00", "spec_value_str": "蓝色,6G", "create_time": "2021-02-24 15:23:23" } ], "page_no": 1, "page_size": 15, "count": 1, "more": 0 }, "data": [], "show": 0, "time": "0.317274" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id|int |砍价订单id |bargain_id|int|活动id |goods_id|int|商品id |order_id|int|订单id |current_price|float|已砍价到的价格 |status_text|string|状态 |buy_btn|int|是否显示去购买按钮 |bargain_btn|int|是否显示去继续砍价按钮 |pay_btn|int|是否显示去继续支付按钮 |bargain_tips|string|砍价规则提示 |image|string|图片链接 |price|string|商品价 |spec_value_str|string|商品规格 |create_time|string|发起砍价时间 **备注** -