wuwangdong 4 yıl önce
ebeveyn
işleme
c5789b105d

+ 3 - 1
assets/script/game/data/GameData.ts

@@ -174,7 +174,9 @@ export class GameData {
         //从服务器解析配置
         this.setProductMapFromJson();
 
-        gData.loginData.popIdentifySwitch = this.configs.ServerConfig.popIdentifySwitch == '1';
+        gData.loginData.popIdentifySwitch = this.configs.ServerConfig.popIdentifySwitch.split(",");
+        this.prohibiJBAd = this.configs.ServerConfig.ProhibitJBAd.split(",");
+        this.prohibitProductionAd = this.configs.ServerConfig.ProhibitProductionAd.split(",");
 
         gData.gameData.shareUrl = this.configs.ServerConfig.shareUrl;
         gData.gameData.shareTitle = this.configs.ServerConfig.shareTitle;

+ 1 - 1
assets/script/game/data/LoginData.ts

@@ -38,7 +38,7 @@ export class LoginData {
     public privacy_data: string[];
 
     /** 身份认证开关 */
-    public popIdentifySwitch = false;
+    public popIdentifySwitch: string[] = [];
     /** 身份认证通过 */
     public passAnti = false;