**简要描述:** - 获取砍价商品详情 **请求URL:** - ` api/bargain/detail` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |bargain_id |是|int | 活动id | **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "id": 2, "activity_price": "0.00", "goods_id": 2, "name": "小米88888", "image": "http://qox6shunx.hn-bkt.clouddn.com/uploads/images/background/20201013/63b6e7cce6d7e2f54a926567a12b6a69.jpg", "price": "2088.00", "goods_item": [ { "activity_price": "1588.00", "id": 2, "image": "http://qox6shunx.hn-bkt.clouddn.com/uploads/images/background/20201013/45345c8657dd87dff6ce754c1b63da0c.jpg", "price": "2088.00", "spec_value_ids": "5,8", "spec_value_str": "蓝色,6G" }, { "activity_price": "1688.00", "id": 3, "image": "http://qox6shunx.hn-bkt.clouddn.com/uploads/images/background/20201013/a9c7df0d62ac83b7bef97f48682fcc5c.jpg", "price": "2088.00", "spec_value_ids": "6,7", "spec_value_str": "白色,4G" }, { "activity_price": "1688.00", "id": 4, "image": "http://qox6shunx.hn-bkt.clouddn.com/uploads/images/background/20201013/45345c8657dd87dff6ce754c1b63da0c.jpg", "price": "2088.00", "spec_value_ids": "6,8", "spec_value_str": "白色,6G" } ], "goods_spec": [ { "id": 3, "goods_id": 2, "name": "选择颜色", "spec_value": [ { "id": 5, "goods_id": 2, "spec_id": 3, "value": "蓝色" }, { "id": 6, "goods_id": 2, "spec_id": 3, "value": "白色" } ] }, { "id": 4, "goods_id": 2, "name": "选择版本", "spec_value": [ { "id": 7, "goods_id": 2, "spec_id": 4, "value": "4G" }, { "id": 8, "goods_id": 2, "spec_id": 4, "value": "6G" } ] } ], "status": -1, "bargain_tips": "您正在发起砍价", "simple_tips": "邀请好友帮忙砍价,砍至1588.00即可发货", "status_tips": 0 }, "time": "0.309582" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |活动id |activity_price|float |活动价 |image |string|商品图片 |price |float |商品原价 |name|string|商品名称 |goods_id|int|商品id |goods_id|int|商品id |----activity_price|float |活动价 |----id|int |规格id |----image|string|商品图片 |----price|float |原价 |goods_spec |array |商品规格 |----id |int |规格id |----goods_id |int |商品id |----name |string |商品名称 |------spec_value |array |具体规格 |----id |int |具体规格id |----spec_id |int |规格id |----value |int |具体规格名称 |status|int|状态(-1:砍价活动详情;0-砍价订单进行中;1-砍价订单已成功;2-砍价订单失败;5-好友点击分享进来) |bargain_tips|string|砍价状态提示(砍价中、砍价成功、砍价失败、来自xxx的分享...) |simple_tips|string|砍价简单提示(邀请好友帮忙砍价...、谢谢您的助力....) **备注** -