1
0
dzduole 14 цаг өмнө
parent
commit
8769fc4fc1

+ 6 - 6
art/fgui/assets/game/UIMain/UIMain.xml

@@ -26,10 +26,11 @@
       <relation target="n10_ixm4" sidePair="width-width,center-center"/>
       <relation target="" sidePair=""/>
     </group>
-    <component id="n34_ixm4" name="signBtn" src="ixm43xu" fileName="UIMain/component/Component11.xml" xy="1224,119" size="107,96" group="n45_ixm4"/>
-    <component id="n35_ixm4" name="drawBtn" src="ixm43xv" fileName="UIMain/component/Component12.xml" xy="1087,119" size="107,96" group="n45_ixm4"/>
-    <component id="n56_mnrs" name="settingNode" src="mnrs42t" fileName="UIMain/component/UISetting.xml" xy="920,119" size="166,96" group="n45_ixm4" controller="c1,0"/>
-    <group id="n45_ixm4" name="n45" xy="920,119" size="411,96" advanced="true">
+    <component id="n34_ixm4" name="signBtn" src="ixm43xu" fileName="UIMain/component/Component11.xml" xy="1221,119" size="107,96" group="n45_ixm4"/>
+    <component id="n35_ixm4" name="drawBtn" src="ixm43xv" fileName="UIMain/component/Component12.xml" xy="1084,119" size="107,96" group="n45_ixm4"/>
+    <component id="n103_ijwr" name="n_dengLu" src="ijwrv5a0" fileName="UIMain/component/Component_denglu.xml" xy="762,121" group="n45_ixm4"/>
+    <component id="n56_mnrs" name="settingNode" src="mnrs42t" fileName="UIMain/component/UISetting.xml" xy="888,119" size="166,96" group="n45_ixm4" controller="c1,0"/>
+    <group id="n45_ixm4" name="n45" xy="762,119" size="566,98" advanced="true">
       <relation target="n10_ixm4" sidePair="left-right%"/>
     </group>
     <component id="n86_r4l5" name="ganFaMoShiBtn" src="r4l5v577" fileName="UIMain/component/Component1302.xml" xy="1022,665" size="169,85" group="n46_ixm4"/>
@@ -62,13 +63,12 @@
       <relation target="n13_ixm4" sidePair="left-left,top-top"/>
     </component>
     <component id="n83_jpsz" name="n83" src="jpszv4n9" fileName="_sharecomponent/dh_zuanshi.xml" xy="457,12"/>
-    <component id="n84_jpsz" name="n84" src="jpszv4ni" fileName="_sharecomponent/Component141.xml" xy="950,129" scale="0.8,0.8" visible="false">
+    <component id="n84_jpsz" name="n84" src="jpszv4ni" fileName="_sharecomponent/Component141.xml" xy="792,130" scale="0.8,0.8" visible="false">
       <relation target="n45_ixm4" sidePair="middle-middle,left-left"/>
     </component>
     <component id="n90_p8p3" name="n_Logout" src="p8p3v58c" fileName="UIMain/component/Component_dl_zc.xml" xy="403,28" size="152,70" group="n94_p8p3" controller="c1,4"/>
     <component id="n91_p8p3" name="n_zhuCe" src="p8p3v58c" fileName="UIMain/component/Component_dl_zc.xml" xy="403,28" size="152,70" group="n94_p8p3" controller="c1,1"/>
     <group id="n94_p8p3" name="n94" xy="403,28" size="152,70"/>
     <component id="n101_e1lx" name="n_moni_pay_ok" src="e1lxv59z" fileName="UIMain/Component1_debug_pay_ok.xml" xy="815,304"/>
-    <component id="n103_ijwr" name="n_dengLu" src="ijwrv5a0" fileName="UIMain/component/Component_denglu.xml" xy="622,36"/>
   </displayList>
 </component>

+ 1 - 1
art/fgui/assets/game/UIMain/component/Component_denglu.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="125,53">
+<component size="96,96">
   <displayList>
     <image id="n102_ijwr" name="n102" src="so7lv58s" fileName="UIUser/asset/log in.png" xy="0,0"/>
   </displayList>

+ 2 - 2
art/fgui/assets/game/UIUser/UILogin.xml

@@ -4,8 +4,8 @@
   <displayList>
     <graph id="n18_p8p3" name="n18" xy="0,0" size="1700,750" alpha="0.6" type="rect" fillColor="#ff000000"/>
     <image id="n7_nnz5" name="n7" src="hgftv582" fileName="UIUser/asset/bg.png" xy="417,67" size="866,615"/>
-    <text id="n5_nnz5" name="n5" xy="586,240" size="116,39" fontSize="28" color="#ffffff" align="center" bold="true" text="Account"/>
-    <text id="n6_nnz5" name="n6" xy="564,353" size="138,39" fontSize="28" color="#ffffff" align="center" bold="true" text="Password"/>
+    <text id="n5_nnz5" name="n5" xy="531,240" size="171,39" fontSize="28" color="#ffffff" align="right" autoSize="none" bold="true" text="Account"/>
+    <text id="n6_nnz5" name="n6" xy="517,353" size="185,39" fontSize="28" color="#ffffff" align="right" autoSize="none" bold="true" text="Password"/>
     <component id="n17_p8p3" name="closeBtn" src="xs1r483" fileName="UILevelProp/component/Component86.xml" xy="1212,85"/>
     <component id="n37_so7l" name="btn_gotoReg" src="bobav57y" fileName="UIUser/component/Button_reg.xml" xy="895,565">
       <Button titleColor="#000000"/>

BIN
art/fgui/assets/game/UIUser/asset/log in.png


BIN
client/laya/bin/asset/fgui/game.obj


BIN
client/laya/bin/asset/fgui/game_atlas0_1.png


+ 57 - 97
client/laya/bin/js/bundle.js

@@ -854,7 +854,7 @@
 
     class HttpMgr {
         constructor() {
-            this.isDev = true;
+            this.isDev = false;
             HttpMgr._instance = this;
         }
         static getInstance() {
@@ -1334,7 +1334,7 @@
         showRewardAd(mark) {
             let boo7 = this.checkAdForUserOrderForSpid17(7);
             if (boo7) {
-                console.log('zh: VIP SPID = 7,任何AD');
+                console.log('zh: VIP SPID = 7,免除任何AD');
                 return false;
             }
             if (!Laya.Browser.onAndroid) {
@@ -4552,6 +4552,7 @@
             this.n44 = (this.getChild("n44"));
             this.signBtn = (this.getChild("signBtn"));
             this.drawBtn = (this.getChild("drawBtn"));
+            this.n_dengLu = (this.getChild("n_dengLu"));
             this.settingNode = (this.getChild("settingNode"));
             this.n45 = (this.getChild("n45"));
             this.ganFaMoShiBtn = (this.getChild("ganFaMoShiBtn"));
@@ -4573,7 +4574,6 @@
             this.n_Logout = (this.getChild("n_Logout"));
             this.n_zhuCe = (this.getChild("n_zhuCe"));
             this.n_moni_pay_ok = (this.getChild("n_moni_pay_ok"));
-            this.n_dengLu = (this.getChild("n_dengLu"));
         }
     }
     ui_UIMain.URL = "ui://isxx5ak7kt443qc";
@@ -7027,6 +7027,7 @@
                             DataMgr.updateUserNickName(res.username);
                             Moyu.updateUserInfo(res.username);
                             xGame.uiMgr.Show(UIMsg, msg);
+                            DataMgr.loadUserSpOrderForAd();
                             DataMgr.getUserZiChanInfo();
                             xGame.eventMgr.event(LOGIN_IN);
                             this.closeSelf();
@@ -7153,6 +7154,7 @@
             this.y = (Laya.stage.height - this.height) / 2;
         }
         closeSelf() {
+            DataMgr.loadUserSpOrderForAd();
             this.hide();
         }
         gotoBuy() {
@@ -7190,6 +7192,7 @@
                     }
                     if (code == 200) {
                         xGame.uiMgr.Show(UIMsg, msg);
+                        DataMgr.loadUserSpOrderForAd();
                         DataMgr.getUserZiChanInfo();
                         this.closeSelf();
                     }
@@ -7236,6 +7239,7 @@
             this.y = (Laya.stage.height - this.height) / 2;
         }
         closeSelf() {
+            DataMgr.loadUserSpOrderForAd();
             this.hide();
         }
         gotoBuy() {
@@ -7273,6 +7277,7 @@
                     }
                     if (code == 200) {
                         xGame.uiMgr.Show(UIMsg, msg);
+                        DataMgr.loadUserSpOrderForAd();
                         DataMgr.getUserZiChanInfo();
                         this.closeSelf();
                     }
@@ -7624,7 +7629,6 @@
             }
             this.c_btn_for_user();
             window['nativeCallJs'] = this.nativeCallJs.bind(this);
-            this.loadUserSpOrderForAd();
         }
         Logout() {
             if (LocalStorageManager.hasJosnKey(keyForLoginInfo)) {
@@ -7666,51 +7670,6 @@
             console.log('zh:福利7');
             this.checkForShowFuLi17(7);
         }
-        loadUserSpOrderForAd() {
-            let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
-            if (userInfo == null) {
-                return;
-            }
-            let reqData = xGame.httpMgr.getReqData();
-            xGame.httpMgr.sendPost2025('order/getOrderListForNoChongFuBuy', reqData, (res) => {
-                try {
-                    console.log('zh:loadUserSpOrderForAd res = ' + JSON.stringify(res));
-                    let code = res.code;
-                    let msg = res.msg;
-                    if (code == 401) {
-                        Laya.LocalStorage.setItem(keyForLoginInfo, null);
-                        xGame.uiMgr.Show(UIMsg, TIP_MSG_key.pleaseLoginIn);
-                        return;
-                    }
-                    if (code == 200) {
-                        let data = res.data;
-                        let buy_spid1 = false;
-                        let buy_spid7 = false;
-                        for (let index = 0; index < data.length; index++) {
-                            let element = data[index];
-                            console.log('zh:list  element.spid = ' + element.spid);
-                            if (element.spid == 1) {
-                                buy_spid1 = true;
-                            }
-                            if (element.spid == 7) {
-                                buy_spid7 = true;
-                            }
-                        }
-                        DataMgr.updateLocalUserDataForSpid17(1, buy_spid1);
-                        DataMgr.updateLocalUserDataForSpid17(7, buy_spid7);
-                    }
-                    else {
-                        xGame.uiMgr.Show(UIMsg, msg);
-                    }
-                }
-                catch (error) {
-                    console.log('error=' + error);
-                    alert(error);
-                }
-                finally {
-                }
-            });
-        }
         checkForShowFuLi17(spid) {
             let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
             if (userInfo == null) {
@@ -7819,7 +7778,6 @@
         }
         show(showFailWords) {
             super.show();
-            this.loadUserSpOrderForAd();
             this.moneyNode.ui.c1.selectedIndex = 1;
             this.playSecretaryIdle();
             xGame.soundMgr.playMusic("caromhall01", 0);
@@ -19259,6 +19217,50 @@
             else {
             }
         }
+        static loadUserSpOrderForAd() {
+            let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
+            if (userInfo == null) {
+                return;
+            }
+            console.log('zh:重新加载更新广告权利');
+            let reqData = xGame.httpMgr.getReqData();
+            xGame.httpMgr.sendPost2025('order/getOrderListForNoChongFuBuy', reqData, (res) => {
+                try {
+                    console.log('zh:loadUserSpOrderForAd res = ' + JSON.stringify(res));
+                    let code = res.code;
+                    let msg = res.msg;
+                    if (code == 401) {
+                        Laya.LocalStorage.setItem(keyForLoginInfo, null);
+                        return;
+                    }
+                    if (code == 200) {
+                        let data = res.data;
+                        let buy_spid1 = false;
+                        let buy_spid7 = false;
+                        for (let index = 0; index < data.length; index++) {
+                            let element = data[index];
+                            console.log('zh:list  element.spid = ' + element.spid);
+                            if (element.spid == 1) {
+                                buy_spid1 = true;
+                            }
+                            if (element.spid == 7) {
+                                buy_spid7 = true;
+                            }
+                        }
+                        DataMgr.updateLocalUserDataForSpid17(1, buy_spid1);
+                        DataMgr.updateLocalUserDataForSpid17(7, buy_spid7);
+                    }
+                    else {
+                    }
+                }
+                catch (error) {
+                    console.log('error=' + error);
+                    alert(error);
+                }
+                finally {
+                }
+            });
+        }
     }
     DataMgr.isNewUser = false;
     DataMgr.fristEnter = true;
@@ -24035,6 +24037,7 @@
                             DataMgr.updateUserNickName(res.username);
                             Moyu.updateUserInfo(res.username);
                             xGame.uiMgr.Show(UIMsg$1, msg);
+                            DataMgr.loadUserSpOrderForAd();
                             DataMgr.getUserZiChanInfo();
                             xGame.eventMgr.event(LOGIN_IN);
                             this.closeSelf();
@@ -24150,6 +24153,7 @@
             this.y = (Laya.stage.height - this.height) / 2;
         }
         closeSelf() {
+            DataMgr.loadUserSpOrderForAd();
             this.hide();
         }
         gotoBuy() {
@@ -24187,6 +24191,7 @@
                     }
                     if (code == 200) {
                         xGame.uiMgr.Show(UIMsg$1, msg);
+                        DataMgr.loadUserSpOrderForAd();
                         DataMgr.getUserZiChanInfo();
                         this.closeSelf();
                     }
@@ -24222,6 +24227,7 @@
             this.y = (Laya.stage.height - this.height) / 2;
         }
         closeSelf() {
+            DataMgr.loadUserSpOrderForAd();
             this.hide();
         }
         gotoBuy() {
@@ -24259,6 +24265,7 @@
                     }
                     if (code == 200) {
                         xGame.uiMgr.Show(UIMsg$1, msg);
+                        DataMgr.loadUserSpOrderForAd();
                         DataMgr.getUserZiChanInfo();
                         this.closeSelf();
                     }
@@ -24696,7 +24703,6 @@
             }
             this.c_btn_for_user();
             window['nativeCallJs'] = this.nativeCallJs.bind(this);
-            this.loadUserSpOrderForAd();
         }
         Logout() {
             if (LocalStorageManager.hasJosnKey(keyForLoginInfo)) {
@@ -24738,51 +24744,6 @@
             console.log('zh:福利7');
             this.checkForShowFuLi17(7);
         }
-        loadUserSpOrderForAd() {
-            let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
-            if (userInfo == null) {
-                return;
-            }
-            let reqData = xGame.httpMgr.getReqData();
-            xGame.httpMgr.sendPost2025('order/getOrderListForNoChongFuBuy', reqData, (res) => {
-                try {
-                    console.log('zh:loadUserSpOrderForAd res = ' + JSON.stringify(res));
-                    let code = res.code;
-                    let msg = res.msg;
-                    if (code == 401) {
-                        Laya.LocalStorage.setItem(keyForLoginInfo, null);
-                        xGame.uiMgr.Show(UIMsg$1, TIP_MSG_key.pleaseLoginIn);
-                        return;
-                    }
-                    if (code == 200) {
-                        let data = res.data;
-                        let buy_spid1 = false;
-                        let buy_spid7 = false;
-                        for (let index = 0; index < data.length; index++) {
-                            let element = data[index];
-                            console.log('zh:list  element.spid = ' + element.spid);
-                            if (element.spid == 1) {
-                                buy_spid1 = true;
-                            }
-                            if (element.spid == 7) {
-                                buy_spid7 = true;
-                            }
-                        }
-                        DataMgr.updateLocalUserDataForSpid17(1, buy_spid1);
-                        DataMgr.updateLocalUserDataForSpid17(7, buy_spid7);
-                    }
-                    else {
-                        xGame.uiMgr.Show(UIMsg$1, msg);
-                    }
-                }
-                catch (error) {
-                    console.log('error=' + error);
-                    alert(error);
-                }
-                finally {
-                }
-            });
-        }
         checkForShowFuLi17(spid) {
             let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
             if (userInfo == null) {
@@ -24891,7 +24852,6 @@
         }
         show(showFailWords) {
             super.show();
-            this.loadUserSpOrderForAd();
             this.moneyNode.ui.c1.selectedIndex = 1;
             this.playSecretaryIdle();
             xGame.soundMgr.playMusic("caromhall01", 0);

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
client/laya/bin/js/bundle.js.map


+ 1 - 1
client/laya/src/core/mgrs/HttpMgr.ts

@@ -50,7 +50,7 @@ export class HttpMgr {
     }
 
 
-    private isDev: boolean = true;//是否是开发环境
+    private isDev: boolean = false;//是否是开发环境
     public getReqData() {
         let reqData = JSON.stringify({
             gameName: "TQ",

+ 49 - 0
client/laya/src/data/DataMgr.ts

@@ -859,6 +859,7 @@ export default class DataMgr {
                     let signData = d.signData;
                     let placeBallData = d.placeBallData;
 
+
                     DataMgr.setDiamondFormServer(zuanShi);
                     DataMgr.setCoinFormServer(jinBi);
                     console.log('zh:更新球杆信息')
@@ -916,6 +917,54 @@ export default class DataMgr {
     }
 
 
+    /**
+     * 加载用户广告权利
+     */
+    public static loadUserSpOrderForAd() {
+        let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
+        if (userInfo == null) {
+            return;
+        }
+        console.log('zh:重新加载更新广告权利');
+        let reqData = xGame.httpMgr.getReqData();
+        xGame.httpMgr.sendPost2025('order/getOrderListForNoChongFuBuy', reqData, (res) => {
+            try {
+                console.log('zh:loadUserSpOrderForAd res = ' + JSON.stringify(res))
+                let code = res.code;
+                let msg = res.msg;
+                if (code == 401) {
+                    Laya.LocalStorage.setItem(keyForLoginInfo, null);
+                    //  xGame.uiMgr.Show(UIMsg, TIP_MSG_key.pleaseLoginIn)
+                    return;
+                }
+                if (code == 200) {
+                    let data = res.data;
+                    let buy_spid1: boolean = false;
+                    let buy_spid7: boolean = false;
+
+                    for (let index = 0; index < data.length; index++) {
+                        let element = data[index];
+                        console.log('zh:list  element.spid = ' + element.spid);
+                        if (element.spid == 1) {
+                            buy_spid1 = true;
+                        }
+                        if (element.spid == 7) {
+                            buy_spid7 = true;
+                        }
+                    }
+                    DataMgr.updateLocalUserDataForSpid17(1, buy_spid1);
+                    DataMgr.updateLocalUserDataForSpid17(7, buy_spid7);
+                } else {
+                    // xGame.uiMgr.Show(UIMsg, msg);
+                }
+            } catch (error) {
+                console.log('error=' + error);
+                alert(error);
+            } finally {
+
+            }
+        });
+    }
 
 
 

+ 3 - 3
client/laya/src/fgui/res/game/ui_UIMain.ts

@@ -9,6 +9,7 @@ import ui_Component7 from "./ui_Component7";
 import ui_Component8 from "./ui_Component8";
 import ui_Component11 from "./ui_Component11";
 import ui_Component12 from "./ui_Component12";
+import ui_Component_denglu from "./ui_Component_denglu";
 import ui_UISetting from "./ui_UISetting";
 import ui_Component1302 from "./ui_Component1302";
 import ui_Component13 from "./ui_Component13";
@@ -22,7 +23,6 @@ import ui_dh_zuanshi from "./ui_dh_zuanshi";
 import ui_Component141 from "./ui_Component141";
 import ui_Component_dl_zc from "./ui_Component_dl_zc";
 import ui_Component1_debug_pay_ok from "./ui_Component1_debug_pay_ok";
-import ui_Component_denglu from "./ui_Component_denglu";
 
 export default class ui_UIMain extends fgui.GComponent {
 
@@ -39,6 +39,7 @@ export default class ui_UIMain extends fgui.GComponent {
 	public n44:fgui.GGroup;
 	public signBtn:ui_Component11;
 	public drawBtn:ui_Component12;
+	public n_dengLu:ui_Component_denglu;
 	public settingNode:ui_UISetting;
 	public n45:fgui.GGroup;
 	public ganFaMoShiBtn:ui_Component1302;
@@ -60,7 +61,6 @@ export default class ui_UIMain extends fgui.GComponent {
 	public n_Logout:ui_Component_dl_zc;
 	public n_zhuCe:ui_Component_dl_zc;
 	public n_moni_pay_ok:ui_Component1_debug_pay_ok;
-	public n_dengLu:ui_Component_denglu;
 	public static URL:string = "ui://isxx5ak7kt443qc";
 
 	public static createInstance():ui_UIMain {
@@ -81,6 +81,7 @@ export default class ui_UIMain extends fgui.GComponent {
 		this.n44 = <fgui.GGroup>(this.getChild("n44"));
 		this.signBtn = <ui_Component11>(this.getChild("signBtn"));
 		this.drawBtn = <ui_Component12>(this.getChild("drawBtn"));
+		this.n_dengLu = <ui_Component_denglu>(this.getChild("n_dengLu"));
 		this.settingNode = <ui_UISetting>(this.getChild("settingNode"));
 		this.n45 = <fgui.GGroup>(this.getChild("n45"));
 		this.ganFaMoShiBtn = <ui_Component1302>(this.getChild("ganFaMoShiBtn"));
@@ -102,6 +103,5 @@ export default class ui_UIMain extends fgui.GComponent {
 		this.n_Logout = <ui_Component_dl_zc>(this.getChild("n_Logout"));
 		this.n_zhuCe = <ui_Component_dl_zc>(this.getChild("n_zhuCe"));
 		this.n_moni_pay_ok = <ui_Component1_debug_pay_ok>(this.getChild("n_moni_pay_ok"));
-		this.n_dengLu = <ui_Component_denglu>(this.getChild("n_dengLu"));
 	}
 }

+ 3 - 0
client/laya/src/ui/UIFuli1.ts

@@ -30,7 +30,9 @@ export default class UIFuli1 extends UIBase {
         this.x = (Laya.stage.width - this.width) / 2;
         this.y = (Laya.stage.height - this.height) / 2;
     }
+
     closeSelf() {
+        DataMgr.loadUserSpOrderForAd();
         this.hide();
     }
     gotoBuy() {
@@ -69,6 +71,7 @@ export default class UIFuli1 extends UIBase {
                 }
                 if (code == 200) {
                     xGame.uiMgr.Show(UIMsg, msg)
+                    DataMgr.loadUserSpOrderForAd();
                     DataMgr.getUserZiChanInfo();
                     this.closeSelf();
                 } else {

+ 3 - 0
client/laya/src/ui/UIFuli2.ts

@@ -35,6 +35,7 @@ export default class UIFuli2 extends UIBase {
         this.y = (Laya.stage.height - this.height) / 2;
     }
     closeSelf() {
+          DataMgr.loadUserSpOrderForAd();
         this.hide();
     }
     gotoBuy() {
@@ -71,7 +72,9 @@ export default class UIFuli2 extends UIBase {
                     return;
                 }
                 if (code == 200) {
+                    
                     xGame.uiMgr.Show(UIMsg, msg)
+                     DataMgr.loadUserSpOrderForAd();
                     DataMgr.getUserZiChanInfo();
                     this.closeSelf();
                 } else {

+ 2 - 0
client/laya/src/ui/UILogin.ts

@@ -67,6 +67,8 @@ export default class UILogin extends UIBase {
                         Moyu.updateUserInfo(res.username);
 
                         xGame.uiMgr.Show(UIMsg, msg)
+
+                        DataMgr.loadUserSpOrderForAd();
                         DataMgr.getUserZiChanInfo();
 
 

+ 4 - 51
client/laya/src/ui/UIMain.ts

@@ -202,9 +202,9 @@ export default class UIMain extends UIBase {
         //     console.log('zh: 1秒后  showFuLiSp1')
         //     this.showFuLiSp1();
         // })
-        this.loadUserSpOrderForAd();
+      
+
 
-        
 
     }
 
@@ -261,53 +261,6 @@ export default class UIMain extends UIBase {
         console.log('zh:福利7');
         this.checkForShowFuLi17(7);
     }
-    /**
-     * 加载用户广告权利
-     */
-    loadUserSpOrderForAd() {
-        let userInfo = LocalStorageManager.getItem(keyForLoginInfo);
-        if (userInfo == null) {
-            return;
-        }
-        let reqData = xGame.httpMgr.getReqData();
-        xGame.httpMgr.sendPost2025('order/getOrderListForNoChongFuBuy', reqData, (res) => {
-            try {
-                console.log('zh:loadUserSpOrderForAd res = ' + JSON.stringify(res))
-                let code = res.code;
-                let msg = res.msg;
-                if (code == 401) {
-                    Laya.LocalStorage.setItem(keyForLoginInfo, null);
-                    xGame.uiMgr.Show(UIMsg, TIP_MSG_key.pleaseLoginIn)
-                    return;
-                }
-                if (code == 200) {
-                    let data = res.data;
-                    let buy_spid1: boolean = false;
-                    let buy_spid7: boolean = false;
-
-                    for (let index = 0; index < data.length; index++) {
-                        let element = data[index];
-                        console.log('zh:list  element.spid = ' + element.spid);
-                        if (element.spid == 1) {
-                            buy_spid1 = true;
-                        }
-                        if (element.spid == 7) {
-                            buy_spid7 = true;
-                        }
-                    }
-                    DataMgr.updateLocalUserDataForSpid17(1, buy_spid1);
-                    DataMgr.updateLocalUserDataForSpid17(7, buy_spid7);
-                } else {
-                    xGame.uiMgr.Show(UIMsg, msg);
-                }
-            } catch (error) {
-                console.log('error=' + error);
-                alert(error);
-            } finally {
-
-            }
-        });
-    }
 
 
     /**
@@ -439,7 +392,7 @@ export default class UIMain extends UIBase {
         this.addUIClick(this.ui.n_Logout, this.Logout);
         this.addUIClick(this.ui.n_dengLu, this.gotoLogin);
         this.addUIClick(this.ui.n_zhuCe, this.gotoRegUser);
-       // this.addUIClick(this.ui.n_fuli, this.showFuLiSp7);
+        // this.addUIClick(this.ui.n_fuli, this.showFuLiSp7);
 
         //调试专用
         this.addUIClick(this.ui.n_moni_pay_ok, this.start_debug_for_moni_payOk);
@@ -449,7 +402,7 @@ export default class UIMain extends UIBase {
         super.show();
 
 
-        this.loadUserSpOrderForAd();
+
         //
         this.moneyNode.ui.c1.selectedIndex = 1;
         this.playSecretaryIdle();

+ 1 - 1
client/laya/src/utils/JSBridgeUtils.ts

@@ -156,7 +156,7 @@ export default class JSBridgeUtils {
         //7 = 完全无AD
         let boo7 = this.checkAdForUserOrderForSpid17(7);
         if (boo7) {
-            console.log('zh: VIP SPID = 7,任何AD')
+            console.log('zh: VIP SPID = 7,免除任何AD')
             return false;
         }
 

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно