Bladeren bron

发测试包

kaka 5 jaren geleden
bovenliggende
commit
1eaa1b7558

+ 2 - 4
assets/script/game/data/AppData.ts

@@ -15,17 +15,15 @@ export class AppData {
     public tfChannel: string = '';
 
     /** api版本 */
-    public version: string = '1.0.0';
+    public version: string = '';
 
     /** UserAgent */
     UA = '';
 
     IP = '';
 
-    /** 李杨/悍国服的appId */
-    // public appId: string = 'wxcf31f0e54f7fefda';
     /** 测试服/正式服的appId */
-    public appId: string = 'wxcf31f0e54f7fefda';
+    public appId: string = '';
 
     /** 友盟渠道 */
     public umengChannel: string = '';

+ 2 - 1
assets/script/game/module/login/Login.ts

@@ -148,8 +148,9 @@ export default class Login extends cc.Component {
     //发送请求整包更新
     public async getForceVersionInfo() {
         if (CC_DEBUG) {
+            //测试用配置版本号
             gData.appData.appId = "wxcf31f0e54f7fefda";
-            gData.appData.version = "1.0.0";
+            gData.appData.version = "1.1.1";
             gData.appData.tfChannel = "1";
             gData.appData.appVersion = "1.0.0";
         }

BIN
build/jsb-link/assets/main/index.jsc


File diff suppressed because it is too large
+ 0 - 0
build/jsb-link/assets/resources/config.json


+ 14 - 11
build/jsb-link/js backups (useful for debugging)/main.index.js

@@ -2236,14 +2236,14 @@ this.getDeviceInfoCompelete = !1;
 this.appNameBugly = "3xiao";
 this.appVersion = "";
 this.tfChannel = "";
-this.version = "1.0.0";
+this.version = "";
 this.UA = "";
 this.IP = "";
-this.appId = "wxcf31f0e54f7fefda";
+this.appId = "";
 this.umengChannel = "";
 this.deviceType = "";
 this.androidVersion = "";
-this.mac = "1e:06:e5:13:b3:23,f6:60:e4:1a:b7:27";
+this.mac = "1e:06:e5:13:b3:55,f6:65:e4:1a:b7:27";
 this.machineInfo = {
 android_id: "",
 idfa: "",
@@ -5130,7 +5130,7 @@ this.labMoney.string = "¥" + this.money;
 e.prototype.tixianFail = function() {
 console.log("tixianFail  ");
 this.loadPart.active = !1;
-mk.tip.pop("检测到数据异常,请多看视频后再试");
+mk.tip.pop("提现排队中,多看视频优先提现");
 mk.ui.closePanel(this.node.name);
 };
 e.prototype.authBack = function() {
@@ -10564,7 +10564,7 @@ value: !0
 n.ServerUrl = n.HttpData = void 0;
 var o, i = function() {
 function t() {
-this.serverType = 1;
+this.serverType = 0;
 }
 t.prototype.getServerUrl = function() {
 switch (this.serverType) {
@@ -13966,7 +13966,7 @@ return [ 4, mk.http.sendData("piggyBankCash", {}) ];
 
 case 1:
 if (0 != (t = e.sent()).errcode) {
-mk.tip.pop("检测到数据异常,请多看视频后再试");
+mk.tip.pop("提现排队中,多看视频优先提现");
 return [ 2 ];
 }
 0 == t.CashMode || t.CashMode;
@@ -14992,7 +14992,7 @@ return [ 4, mk.http.sendData("cashUsual", e) ];
 case 1:
 if (0 != (n = r.sent()).errcode) {
 console.error(n.errmsg);
-mk.tip.pop("检测到数据异常,请多看视频后再试");
+mk.tip.pop("提现排队中,多看视频优先提现");
 mk.console.logSingle("提现index", t);
 mk.console.logSingle("提现错误内容:", n);
 return [ 2 ];
@@ -17887,9 +17887,7 @@ return r(this, function(i) {
 switch (i.label) {
 case 0:
 cc.log("签到奖励", gData.sign.adData);
-gData.gameData.gameData.signInDay++;
-gData.gameData.gameData.isSignInToday = 1;
-if ((t = this.c_sign[gData.gameData.gameData.signInDay - 1]).rewardType !== s.RewardType.redBag) return [ 3, 1 ];
+if ((t = this.c_sign[gData.gameData.gameData.signInDay]).rewardType !== s.RewardType.redBag) return [ 3, 1 ];
 gData.reward.adData = gData.sign.adData;
 mk.ui.openPanel("module/reward/reward");
 return [ 3, 4 ];
@@ -17900,7 +17898,10 @@ e = gData.sign.adData;
 return [ 4, mk.http.sendData("readyCash", {}) ];
 
 case 2:
-0 != (n = i.sent()).errcode && mk.tip.pop("系统异常");
+if (0 != (n = i.sent()).errcode) {
+41002 == n.errcode ? mk.tip.pop("提现排队中,多看视频优先提现") : mk.tip.pop(n.errmsg);
+return [ 2 ];
+}
 0 == n.CashMode || n.CashMode;
 o = Math.round(100 * e.videoRedMoney.videoRewardList[0].rewardNum);
 gData.receiptNotice.receip_rmb = o;
@@ -17917,6 +17918,8 @@ mk.ui.openPanel("module/reward/reward");
 i.label = 4;
 
 case 4:
+gData.gameData.gameData.signInDay++;
+gData.gameData.gameData.isSignInToday = 1;
 return [ 2 ];
 }
 });

+ 2 - 2
packages-hot-update/cfg.json

@@ -9,7 +9,7 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote1/"
     ],
-    "buildTime": 1628254427070,
-    "genTime": 1628254427070,
+    "buildTime": 1628316824841,
+    "genTime": 1628316824841,
     "genVersion": null
 }

Some files were not shown because too many files changed in this diff