🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[info] 获取当前项目设置 (逻辑调整) +++ I9RIA.getSetting <<< success { "prizes":[{ "lot_id":"1", "lot_name":"Iphone6", "lot_count":"7", "lot_desc":"\u7279\u7b49\u5956", "lot_url":"Public\/gamecreator\/app\/RyAx2BvR\/1427356243.png", "lot_winning_tips":"\u606d\u559c\u606d\u559c" },{ "lot_id":"2", "lot_name":"\u4e09\u661fNote", "lot_count":"10", "lot_desc":"\u4e00\u7b49\u5956", "lot_url":" Public\/gamecreator\/app\/RyAx2BvR\/1427357571.png", "lot_winning_tips":"\u606d\u559c\u606d\u559c" }], "lot_type":"0", "nowinmsg":"\u672a\u4e2d\u5956\u672a\u4e2d\u5956", "endtitle":"", "linkpath":"http:\/\/bee.9ria.com\/mobile.html", "linkname":"\u8054\u7cfb\u6211\u4eec", "islinkdesc":true } 注:项目信息包括奖品信息(prizes|详细参数可参考getPrize接口)、抽奖类型(lot_type)、未中奖提示(nowinmsg)、结束语(endtitle)、分享链接(linkpath)、分享名称(linkname)、开启分享链接(islinkdesc|false为关闭、1为开启)等等。以上仅供参考 <<< error 0 //失败 +++ >调用方式 ~~~ I9RIA. getSetting (function(res) {}); ~~~ >[info] 调用示例: ~~~ I9RIA.getSetting(function(res) { console.log('getSetting', res); }); ~~~