ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 新增砍价活动 **请求URL:** - `/bargain.bargain_activity/add` **请求方式:** - POST **参数:** |参数名 |必选 |类型 |说明 | |:--| |name |是 |string |砍价活动名称| |start_time |是 |string |砍价活动开始时间| |end_time |是 |string |砍价活动结束时间| |remark |否 |string |备注| |is_distribution |是 |integer |是否参与分销 0-否 1-是| |buy_condition |是 |integer |购买条件 1-任意金额可购买 2-砍到底价可购买| |valid_period |是 |integer |有效期,单位:分钟,多少时间内砍价完成有效| |help_num |是 |integer |帮砍人数| |knife_amount_type |是 |integer |每刀金额类型 1-固定金额 2-随机金额| |self |是 |integer |自己是否可以参与砍价 0-否 1-是| |count |是 |integer |每个用户可发起次砍价次数| |buy_limit |是 |integer |起购限制| |order_limit |是 |integer |每单限制| |use_coupon |是 |integer |是否允许使用优惠券 0-否 1-是| |goods |是 |array |参与砍价的商品数据| **传参示例:** ``` { "name": "新砍价一", "start_time": "2021-08-27 00:00:00", "end_time": "2021-08-28 23:59:59", "remark": "测试哦~~~", "is_distribution": 1, "buy_condition": 2, "valid_period": 600, "help_num": 10, "knife_amount_type": 2, "self": 1, "count": 10, "buy_limit": 2, "order_limit": 10, "use_coupon": 0, "goods": [ { "goods_id": 24, "items": [ { "item_id": 2, "first_knife": 5, "floor_price": 50}, { "item_id": 3, "first_knife": 3, "floor_price": 50} ] } ] } ``` **返回示例:** ``` { "code": 1, "show": 0, "msg": "添加成功", "data": [] } ```