合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
**简要描述:** - 活动详情 **请求URL:** - ` /lucky_draw.lucky_draw/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id|是 |int |活动id| **返回示例:**[用户](%E7%94%A8%E6%88%B7.md) ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 7, "sn": "202111241615379442", "name": "活动一", "start_time": 1600000000, "end_time": 1600000000, "remark": "这是备注呀", "need_integral": 10, "frequency_type": 0, "frequency": 0, "rule": "一个用户一天只能抽5次", "show_winning_list": 1, "status": 0, "status_desc": "未开始", "prizes": [ { "id": 25, "activity_id": 7, "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 0, "type_value": 0, "num": 100, "probability": 0, "tips": "感谢参与", "location": 1, "type_desc": "未中奖", "probability_desc": 0 }, { "id": 26, "activity_id": 7, "name": "优惠券", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 2, "type_value": 5, "num": 100, "probability": 2000, "tips": "恭喜您中了优惠券", "location": 2, "type_desc": "优惠券", "probability_desc": 20 }, { "id": 27, "activity_id": 7, "name": "余额", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 3, "type_value": 3, "num": 100, "probability": 3000, "tips": "恭喜您中了余额", "location": 3, "type_desc": "余额", "probability_desc": 30 }, { "id": 28, "activity_id": 7, "name": "积分", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 1, "type_value": 5, "num": 100, "probability": 3000, "tips": "恭喜您中了积分", "location": 4, "type_desc": "积分", "probability_desc": 30 }, { "id": 29, "activity_id": 7, "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 0, "type_value": 0, "num": 100, "probability": 0, "tips": "感谢参与", "location": 5, "type_desc": "未中奖", "probability_desc": 0 }, { "id": 30, "activity_id": 7, "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 0, "type_value": 0, "num": 100, "probability": 0, "tips": "感谢参与", "location": 6, "type_desc": "未中奖", "probability_desc": 0 }, { "id": 31, "activity_id": 7, "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 0, "type_value": 0, "num": 100, "probability": 0, "tips": "感谢参与", "location": 7, "type_desc": "未中奖", "probability_desc": 0 }, { "id": 32, "activity_id": 7, "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "type": 0, "type_value": 0, "num": 100, "probability": 0, "tips": "感谢参与", "location": 8, "type_desc": "未中奖", "probability_desc": 0 } ] } } ``` **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |name |是 |string |活动名称| |start_time|是 |int|开始时间,时间戳| |end_time |是 |int |结束时间,时间戳| |need_integral|是 |int|需要消耗的积分| |frequency_type|是 |int|抽奖次数类型| |frequency|是 |int|抽奖次数| |rule|是 |string|抽奖规则| |show_winning_list|是 |int|是否显示中奖名单| |remark|否|string|备注| |prizes|是 |array|奖品| |prizes.name|是 |string|奖品名称| |prizes.image|是 |string|奖品图片| |prizes.type|是 |string|奖品类型| |prizes.type_value|是 |string|奖品类型值| |prizes.num|是 |string|奖品数量| |prizes.probability|是 |string|中奖概率| |prizes.tips|是 |string|中奖提示|