import PlatformData from "./PlatformData"; import { PlatformEnum_TT } from "./PlatformEnum"; /** * 头条小游戏数据 */ export default class TTData extends PlatformData { /** 应用ID */ public appId: string = ''; public appKey: string = ''; /**引力Token */ public GEToken:string =''; /**数数打点APPID */ public TAppID: string = 'afb5183ea29e45c6afd0b0d0c5399af2'; /**数数打点服务器 */ public serverUrl: string = 'https://ta-receiver.cdwaterbear.cn'; public gameName: string = ''; public logo = 1; public showLogo = true; public Copyright: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[] = []; constructor(appid:string|PlatformEnum_TT){ super(); switch (appid) { case PlatformEnum_TT.tt9eace81101ae13bc02: this.appId = "tt9eace81101ae13bc02"; this.appKey = 'NWFhMDA2ODVkMTk3ZDdmMTEyODExYjU1M2NhODU3N2VhMDc3ZmJkMA=='//5aa00685d197d7f112811b553ca8577ea077fbd0; this.rewardVideoId = "ha28bfa798862w8lpk"; this.gameName = "大侠你好坏"; //(一键江湖) this.logo = 1; this.showLogo = true; this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SA0112642"; break; case PlatformEnum_TT.ttc3e7b55a5d8473af02: this.appId = "ttc3e7b55a5d8473af02"; this.appKey = 'YzgwNDgwZTRkYTdjZDQ1ZGRkNDMwNjE5MWIwNzFiM2RlMDkwOWQ4Yg=='//c80480e4da7cd45ddd4306191b071b3de0909d8b; this.rewardVideoId = ""; this.gameName = "无敌大侠"; this.logo = 1; this.showLogo = true; this.Copyright = "著作权人:广州绿之洲科技有限公司\n登记号:2024SR0505359"; break; // 合作方 case PlatformEnum_TT.tt0f0579b89009bb3f02: this.appId = "tt0f0579b89009bb3f02"; this.appKey = 'ZDQ4ODAwZTc5MDg1YTVkZWVkYTg3MDgwZGYyMTNkMWQxMWMxNmEzMQ=='//d48800e79085a5deeda87080df213d1d11c16a31; this.GEToken = 'eaPaozrWhtOldBMiDnGLdFQsvvjwApxN'; this.rewardVideoId = "2lf50dv8g9l1rhadl1"; this.gameName = "给你亮一手"; this.logo = 2; this.showLogo = true; this.Copyright = ""; break; case PlatformEnum_TT.tt6e291894f12b671d02: this.appId = "tt6e291894f12b671d02"; this.appKey = 'MDhhOTNhY2ZkMTgzMjE1MDk3OWY3Y2I5ZmVlODYwMDg0NjVlYTU3ZQ=='//08a93acfd1832150979f7cb9fee86008465ea57e; this.rewardVideoId = "7pica5qnrc5k6jcf76"; this.gameName = "益智通关高手"; this.logo = 1; this.showLogo = true; this.Copyright = ""; break; default: break; } } }