Commit d83ada6a by 江龙

增加url

parent c8b54162
......@@ -3,6 +3,12 @@
"url":"https://cdn17.tomato123.cn/mjGccjdld/web/102/web-mobile/index.html",
"labelArr":["枪火故事","枪火对战",""],
"defaultTap":1,
"icon1X":20,
"icon1Y":300,
"icon2X":300,
"icon2Y":200,
"icon1Url":"https://oss.xxzsgame.com/hongmengicon/icon_chengyu1.jpg",
"icon2Url":"https://oss.xxzsgame.com/hongmengicon/icon_chengyu2.jpg",
"socketWs":"ws://47.97.42.168:8765",
"socketUrl":"wss://hongmeng.xxzsgame.com",
"runCode":"let intervalId=setInterval(()=>{var n=cc.director.getScene();[{'n':'Canvas'},{'n':'LoadGroup'},{'n':'bg','t':'Sprite'}].forEach(s=>{if(!n)return;var c=n.children.filter(z=>z.name==s.n);if(s.t&&cc[s.t])c=c.filter(z=>z.getComponent(cc[s.t]));n=c[s.i||0]});if(n){n.active=0;}var n=cc.director.getScene();[{'n':'Canvas'},{'n':'LoadGroup'},{'n':'buttomBg','t':'Sprite'},{'n':'New Label','t':'Label'}].forEach(s=>{if(!n)return;var c=n.children.filter(z=>z.name==s.n);if(s.t&&cc[s.t])c=c.filter(z=>z.getComponent(cc[s.t]));n=c[s.i||0]});if(n){n.active=0;}},100);var t=setInterval(function(){if(typeof __require!=='undefined'&&__require('PlatformHelper').default){clearInterval(t);__require('PlatformHelper').default.getSdk().rewardedAdShow=function(e=-1, t, i, a=''){return new Promise(function(resolve,reject){if(window.VideoClient){window.VideoClient.callVideo(function(success){alert(success);if(success){t();}else{i&&i()} resolve(success?1:0)})}else{reject()}})}}},500);"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment