guodong 1 жил өмнө
parent
commit
baabea3e11

+ 1 - 1
GameClient/Assets/Game/Launcher/LauncherConfig.cs

@@ -44,7 +44,7 @@ namespace GFGGame
 
         public static void InitScriptCompilation()
         {
-            launcherRootUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/gameRes/";
+            launcherRootUrl = "https://wsjclient.obs.cn-north-4.myhuaweicloud.com/";
 #if PT_DEV
             //外网dev版本
             netType = EnumNetType.PUBLIC;

+ 1 - 6
GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs

@@ -89,12 +89,7 @@ namespace GFGGame
                 default:
                     return;
             }
-            string privacyDirName = "privacy";
-            if (LauncherConfig.platformId == 2)
-            {
-                privacyDirName += LauncherConfig.platformId;
-            }
-            string url = LauncherConfig.launcherRootUrl + $"{privacyDirName}/{fileName}.txt?v={LauncherConfig.privacy_v}";
+            string url = string.Format(LauncherConfig.privacy_v, fileName);
             HttpTool.Instance.Get(url, (string content) =>
             {
                 _ui.m_txtComp.m_txtContent.text = content;