企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 商品营销接口 **请求URL:** - `/shopapi/goods/goodsMarketing` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id |是 |int |商品id | **返回示例** ``` { "code": 1, "show": 0, "msg": "获取成功", "data": { "coupon": [ { "id": 12, "name": "1111", "money": "5.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取5天内可用" }, { "id": 13, "name": "好好", "money": "100.01", "condition": "满80.01使用", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取1天内可用" }, { "id": 15, "name": "55", "money": "5.00", "condition": "满2000.00使用", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取5天内可用" }, { "id": 17, "name": "测试001", "money": "5000.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取2天内可用" }, { "id": 19, "name": "10086", "money": "100.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取2天内可用" }, { "id": 20, "name": "哈哈哈哈", "money": "90.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取2天内可用" }, { "id": 22, "name": "11111111111", "money": "11.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取1天内可用" }, { "id": 23, "name": "好的", "money": "100.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取1天内可用" }, { "id": 30, "name": "测试", "money": "100.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取7天内可用" }, { "id": 31, "name": "限制测试优惠券", "money": "10.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取3天内可用" }, { "id": 32, "name": "限制测试优惠券", "money": "10.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取3天内可用" }, { "id": 33, "name": "测试优惠券", "money": "50.00", "condition": "无金额门槛", "use_scene": "全场通用", "is_receive": 0, "is_available": 0, "effective_time": "领取3天内可用" } ], "activity": [ { "type": 1, "activity_id": 37, "item_id": [ 208, 208, 208, 208, 208, 208, 208 ] }, { "type": 2, "activity_id": 64, "item_id": [ 208, 208, 208, 208, 208 ] }, { "type": 3, "activity_id": 53, "item_id": [ 208 ] } ] } } ``` **返回参数**:** |参数名 |类型 |说明 | | ------ | ------ | ------ |------ | |coupon |int |优惠券列表 | |--id |int |优惠券id | |--name |string|优惠券名称 | |--money |float |优惠券金额| |--condition |string |使用条件| |--use_scene |string |使用场景| |--is_receive |bool |是否已领取:0-已领取;1-未领取| |--is_available |bool |是否可领取:0-可领取;1-不可领取| |--effective_time |string | 使用时间 |activity |array | 当前正在参加的活动 |--type|int|活动类型:1-拼团;2-秒杀;3-砍价 |--activity_id|int|活动id |--item_id|int|规格id