guodong 1 年之前
父節點
當前提交
ebf9b6b9cb
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      GameClient/Assets/Game/Launcher/Views/FullScreenTextView.cs

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

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