guodong 3 år sedan
förälder
incheckning
a495ea5796
1 ändrade filer med 4 tillägg och 6 borttagningar
  1. 4 6
      GameClient/Assets/Game/Launcher/LauncherConfig.cs

+ 4 - 6
GameClient/Assets/Game/Launcher/LauncherConfig.cs

@@ -18,7 +18,7 @@ namespace GFGGame
         public static string loginApiUrl;
         public static string gameApiUrl;
         //ƽ̨id
-        public static string cfgUrl = "http://39.99.144.134/res/platform/{cfgName}.json";
+        public static string cfgUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/14/platform/{cfgName}.json";
         public static int platformId = 1;
         public static string logKey;
         public static string logApiUrl;
@@ -26,11 +26,10 @@ namespace GFGGame
         {
             get
             {
-#if LOCAL
-                return null;
-#else
-
+#if PT_TEMP
                 return "dfs";
+#else
+                return null;
 #endif
             }
         }
@@ -47,7 +46,6 @@ namespace GFGGame
 #elif PT_TEMP
             netType = EnumNetType.TEMP;
             cfgName = "cfg_temp";
-            VEngine.Utility.buildPath = "Bundles_temp";
 #else
             netType = EnumNetType.LOCAL;
             cfgName = "cfg_local";