You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
179 lines
9.2 KiB
179 lines
9.2 KiB
import PlatformData from "./PlatformData";
|
|
import { PlatformEnum_WX } from "./PlatformEnum";
|
|
|
|
/**
|
|
* WX小游戏数据
|
|
*/
|
|
export default class WXData extends PlatformData {
|
|
/** 应用ID */
|
|
public appId: string = '';
|
|
public appKey: string = '';
|
|
/**数数打点APPID */
|
|
public TAppID: string = '4725d595ed534e8f9ed124cd15d42577';
|
|
/**数数打点服务器 */
|
|
public serverUrl: string = 'https://ta-receiver.cdwaterbear.cn';
|
|
public gameName:string ='';
|
|
/** 广告id */
|
|
public bannerId: string = '';
|
|
public rewardVideoId: string = '';
|
|
public nativeId: string = '';
|
|
public boxBannerAd: string = '';
|
|
public boxPortalAd: string = '';
|
|
public boxPortalAdImgUrl: string = '';
|
|
//
|
|
public nativeBannerIds: string[] = [];
|
|
public nativeIconIds: string[] = [];
|
|
public nativeinterstitialIds: string[] = [];
|
|
public nativeinpageIds: string[] = [];
|
|
/**AB测试 */
|
|
public ABTest:any = {}
|
|
constructor(appid:string|PlatformEnum_WX){
|
|
super();
|
|
switch (appid) {
|
|
case PlatformEnum_WX.wx0fb9f73c8e5393ef:
|
|
this.appId = "wx0fb9f73c8e5393ef";
|
|
this.appKey = 'OWNhOWYyNjdmYzc3NjAyYjVjZTI3YTc5ODIxMjI4NGE='//9ca9f267fc77602b5ce27a798212284a;
|
|
this.rewardVideoId = "adunit-43c294d8e8e5e85c";
|
|
this.gameName = "无敌大侠(一键江湖)";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1219631598;
|
|
this.secret_key = "fc9ebc65ddcf1903853ec6135a19902a";
|
|
this.ABTest = {
|
|
// crit_drop_tj: {key:"expt_1768808667",v:0}, // 攻击爆发掉落源起开关,默认关闭
|
|
ad_drop_tj: {key:"expt_1772086195",v:10}, // 看广告后的奖励数量,默认5个
|
|
ad_double: {key:"expt_1773922135",v:0}, // 看广告后的奖励翻倍(源气,离线奖励)
|
|
}
|
|
break;
|
|
case PlatformEnum_WX.wx192e7297a845702d:
|
|
this.appId = "wx192e7297a845702d";
|
|
this.appKey = 'MDJjNzhlZWRlM2UxNzg4NWU1MDdhYzAxM2NlZDI2OWM='//02c78eede3e17885e507ac013ced269c;
|
|
this.rewardVideoId = "adunit-647e5080b0e864f8";
|
|
this.gameName = "摆烂江湖";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
break;
|
|
case PlatformEnum_WX.wx5f2aab15f0b8afce:
|
|
this.appId = "wx5f2aab15f0b8afce";
|
|
this.appKey = 'MTVhMzhmM2ZlYWU1Y2Y2OWE1N2YyZDJlZGU0ZTE2MWE='//15a38f3feae5cf69a57f2d2ede4e161a;
|
|
this.rewardVideoId = "adunit-9020dd6c864e0781";
|
|
this.gameName = "点点武林";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
break;
|
|
case PlatformEnum_WX.wx936d20cf753c7fa3:
|
|
this.appId = "wx936d20cf753c7fa3";
|
|
this.appKey = 'ODhiNjJmNjcxMjZlODYxNGI2ZjNhYTY5Y2Q0YmJmN2Q='//88b62f67126e8614b6f3aa69cd4bbf7d;
|
|
this.rewardVideoId = "adunit-1f5a3d621fb34497";
|
|
this.gameName = "大侠你好坏";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1219639137;
|
|
this.secret_key = "c7bd081860c9fd13720b59c262c91e5b";
|
|
break;
|
|
case PlatformEnum_WX.wx1a7a688b11cd7bed:
|
|
this.appId = "wx1a7a688b11cd7bed";
|
|
this.appKey = 'NTUwYzRjNTU0YjRkZmI4YzNjYjQ3OGU5NjhlZjkwOTY='//550c4c554b4dfb8c3cb478e968ef9096;
|
|
this.rewardVideoId = "adunit-1daf47ef9d37330d";
|
|
this.gameName = "我们铁定行";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1219638980;
|
|
this.secret_key = "881ce2e6b01e961e80a86cfcc2c1e3ff";
|
|
break;
|
|
case PlatformEnum_WX.wx275346926efea5f1:
|
|
this.appId = "wx275346926efea5f1";
|
|
this.appKey = 'ODYwMGMxNzRjOTUzMTUwMGFjN2QzNjllMTgwNWZiODQ='//8600c174c9531500ac7d369e1805fb84;
|
|
this.rewardVideoId = "adunit-02e5b203d7f08a4a";
|
|
this.gameName = "武侠也疯狂";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1220150488;
|
|
this.secret_key = "e29fd6a1b88a16bc4c3d2ee74a3dde02";
|
|
break;
|
|
case PlatformEnum_WX.wxd9620de060149972:
|
|
this.appId = "wxd9620de060149972";
|
|
this.appKey = 'N2ZlYjQ2NmUyNjYwMTAzYzNiNTAwNDYxMmUxMzg4NTg='//7feb466e2660103c3b5004612e138858;
|
|
this.rewardVideoId = "adunit-1c533a2c12be8dd0";
|
|
this.gameName = "无限操控";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1220159022;
|
|
this.secret_key = "d82cd60ace85024c3d24a5a6d7a8a988";
|
|
break;
|
|
case PlatformEnum_WX.wx8181bfd44635333c:
|
|
this.appId = "wx8181bfd44635333c";
|
|
this.appKey = 'ZGVmODUxMzllMTNjOThjMTFkMjU1ZjQ2MDRkMTI5Yzk='//def85139e13c98c11d255f4604d129c9;
|
|
this.rewardVideoId = "adunit-ec434225663ab7fb";
|
|
this.gameName = "大侠江湖行";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642";
|
|
this.user_action_set_id = 1220170189;
|
|
this.secret_key = "dd64936b4046e73985f30cb0f067ed2c";
|
|
break;
|
|
|
|
/** 第三方合作 */
|
|
case PlatformEnum_WX.wx1b59fc0d5beb722d:
|
|
this.appId = "wx1b59fc0d5beb722d";
|
|
this.appKey = 'ZGVkZWY3NDY2OWNmYTc4MWNjOWI1MDNkMzcxYTVjNzg='//dedef74669cfa781cc9b503d371a5c78;
|
|
this.rewardVideoId = "";//"adunit-d5fba4edde786b79";
|
|
this.gameName = "不服打起来";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "";
|
|
break;
|
|
// 池骋
|
|
case PlatformEnum_WX.wxb8eb636b19471548:
|
|
this.appId = "wxb8eb636b19471548";
|
|
this.appKey = 'MGNkMjZkNTYwZmY4MTkxNzIwMGZlMTkxYmIzMjE5YzE='//0cd26d560ff81917200fe191bb3219c1;
|
|
this.GEToken = 'eMkY3OHy9srVCKTxm5I8djpPmwb4itaj';
|
|
this.rewardVideoId = "adunit-b85c978fd36def64";
|
|
this.gameName = "无敌剑侠";
|
|
this.logo = 2;
|
|
this.showLogo = true;
|
|
this.Copyright = "";
|
|
break;
|
|
// 创游
|
|
case PlatformEnum_WX.wx5068509ea506478b:
|
|
this.appId = "wx5068509ea506478b";
|
|
this.appKey = 'ZGMzYTk4YzJiMTk4ZWE5YTE5YTJiMWNhYTliODg3YmM='//dc3a98c2b198ea9a19a2b1caa9b887bc;
|
|
this.rewardVideoId = "adunit-26814674ee26bac4";
|
|
this.gameName = "益智我服了";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "";
|
|
this.Cy_appKey = "XD1X1XVbH5BF424BABBA614305077CD8";
|
|
break;
|
|
case PlatformEnum_WX.wx32ebb63391380fc7:
|
|
this.appId = "wx32ebb63391380fc7";
|
|
this.appKey = 'NDBmYzRlMTkwOGY4YTExYWQyODdhM2IxZGNmODA4NzI='//40fc4e1908f8a11ad287a3b1dcf80872;
|
|
this.rewardVideoId = "adunit-f2d4bc12c0032787";
|
|
this.gameName = "益智游戏酱";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "";
|
|
this.Cy_appKey = "XD1X1XGRT2EF4AA1BC3908C4609279F4";
|
|
break;
|
|
case PlatformEnum_WX.wxab375a4efdb4cf88:
|
|
this.appId = "wxab375a4efdb4cf88";
|
|
this.appKey = 'YmJkYjU4MDliNjY0MWQyOTE5NTZjZGY2ZTc2ZWY3NWY='//bbdb5809b6641d291956cdf6e76ef75f;
|
|
this.rewardVideoId = "adunit-e20f3fbec2c08920";
|
|
this.gameName = "益智会消消";
|
|
this.logo = 1;
|
|
this.showLogo = true;
|
|
this.Copyright = "";
|
|
this.Cy_appKey = "XD1X1Xyz6E9B41549A2BD54ABFD5C3DC";
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|