🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 获取抽奖活动信息 **请求URL:** - ` /shopapi/lucky_draw/activity ` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id|是 |int |活动id| **返回示例:** ``` { "code": 1, "show": 0, "msg": "", "data": { "user_integral": 890, "rule": "一个用户一天只能抽3次", "show_winning_list": 1, "btn": { "flag": true, "tips": "消耗10积分" }, "limit": "不限制抽奖次数,具体请查看活动规则", "prizes": [ { "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 1 }, { "name": "优惠券", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 2 }, { "name": "余额", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 3 }, { "name": "积分", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 4 }, { "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 5 }, { "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 6 }, { "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 7 }, { "name": "谢谢惠顾", "image": "http://www.likeshopb2cv3.localhost/xxx", "location": 8 } ] } } ``` **参数:** |参数名 |类型 |说明 | | ------ | ------ |------ | |show_winning_list|是 |是否显示中奖名单|