wuwangdong il y a 4 ans
Parent
commit
dc804dfe78

+ 4 - 1
assets/script/game/data/module/SafeDepositBoxData.ts

@@ -101,6 +101,7 @@ export default class SafeDepositBoxData {
         let response = await mk.http.sendData('newrichbank/getCashRecord', {});
         if (response && response.errcode == 0) {
             this.cashRecordData = response.data;
+            console.log("--------------");
             this.freshQipao = true;
         }
 
@@ -109,8 +110,9 @@ export default class SafeDepositBoxData {
             gData.gameData.richBankTeachTag = false;
             let isOpenRichBankUI = mk.ui.isPopPanel();
             let times = gData.gameData.getProp(GameProp.cashTimes);
+            console.log(`=========${isOpenRichBankUI}===${times}=====${this.cashRecordData.length}====${this.cashRecordDataLength}`);
             if(gData.gameData.funOpenData[13] == "1" && !isOpenRichBankUI && times >=gData.gameData.showRichBankIconLimit){
-                if(this.cashRecordData.length > this.cashRecordDataLength){
+                if(this.cashRecordData.length >= this.cashRecordDataLength){
                     this.cashRecordDataLength = this.cashRecordData.length;
                     this.isTeach =  mk.guide.open(13);
                 }
@@ -121,6 +123,7 @@ export default class SafeDepositBoxData {
     setCashRecordDataLength(){
         if(this.cashRecordData){
             this.cashRecordDataLength = this.cashRecordData.length;
+            console.log(`setCashRecordDataLength==========${this.cashRecordDataLength}`);
         }else{
             this.cashRecordDataLength = 0;
         }      

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


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
build/jsb-link/assets/resources/config.json


BIN
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/caches/build_file_checksums.ser


+ 6 - 2
build/jsb-link/frameworks/runtime-src/proj.android-studio/build.gradle

@@ -6,7 +6,9 @@ buildscript {
         google()
         jcenter()
         mavenCentral()
-        maven {url 'http://developer.huawei.com/repo/'}
+        repositories {
+            maven {url 'http://developer.huawei.com/repo/'}
+        }
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:3.3.3'
@@ -26,7 +28,9 @@ allprojects {
         flatDir {
             dirs 'libs'
         }
-        maven {url 'http://developer.huawei.com/repo/'}
+        repositories {
+            maven {url 'http://developer.huawei.com/repo/'}
+        }
     }
 }
 

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

@@ -28775,13 +28775,15 @@ return [ 4, mk.http.sendData("newrichbank/getCashRecord", {}) ];
 case 2:
 if ((t = o.sent()) && 0 == t.errcode) {
 this.cashRecordData = t.data;
+console.log("--------------");
 this.freshQipao = !0;
 }
 if (gData.gameData.richBankTeachTag) {
 gData.gameData.richBankTeachTag = !1;
 e = mk.ui.isPopPanel();
 a = gData.gameData.getProp(s.GameProp.cashTimes);
-if ("1" == gData.gameData.funOpenData[13] && !e && a >= gData.gameData.showRichBankIconLimit && this.cashRecordData.length > this.cashRecordDataLength) {
+console.log("=========" + e + "===" + a + "=====" + this.cashRecordData.length + "====" + this.cashRecordDataLength);
+if ("1" == gData.gameData.funOpenData[13] && !e && a >= gData.gameData.showRichBankIconLimit && this.cashRecordData.length >= this.cashRecordDataLength) {
 this.cashRecordDataLength = this.cashRecordData.length;
 this.isTeach = mk.guide.open(13);
 }
@@ -28792,7 +28794,10 @@ return [ 2 ];
 });
 };
 t.prototype.setCashRecordDataLength = function() {
-this.cashRecordData ? this.cashRecordDataLength = this.cashRecordData.length : this.cashRecordDataLength = 0;
+if (this.cashRecordData) {
+this.cashRecordDataLength = this.cashRecordData.length;
+console.log("setCashRecordDataLength==========" + this.cashRecordDataLength);
+} else this.cashRecordDataLength = 0;
 };
 t.prototype.checkSameDay = function(t) {
 return new Date().getDate() == new Date(t).getDate();

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

@@ -12,7 +12,7 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsfTest/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsf/baseRemote/"
     ],
-    "buildTime": 1638433399762,
-    "genTime": 1638433399762,
+    "buildTime": 1638444316034,
+    "genTime": 1638444316034,
     "genVersion": null
 }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff