From 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 26 三月 2026 17:46:11 +0800
Subject: [PATCH] webgl代码合并 1
---
Main/ResModule/RemoteServicesImpl.cs | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/Main/ResModule/RemoteServicesImpl.cs b/Main/ResModule/RemoteServicesImpl.cs
index 69c9aee..44a52cb 100644
--- a/Main/ResModule/RemoteServicesImpl.cs
+++ b/Main/ResModule/RemoteServicesImpl.cs
@@ -50,22 +50,22 @@
/// <param name="baseCdnUrl">鍩虹 CDN 鍦板潃锛堝 https://cdn.example.com锛�</param>
/// <param name="fallbackCdnUrl">澶囩敤 CDN 鍦板潃锛堝彲閫夛紝榛樿鍚� baseCdnUrl锛�</param>
/// <returns>骞冲彴瀵瑰簲鐨� RemoteServicesImpl 瀹炰緥</returns>
- public static RemoteServicesImpl CreateForCurrentPlatform(string baseCdnUrl, string fallbackCdnUrl = null)
- {
- fallbackCdnUrl = fallbackCdnUrl ?? baseCdnUrl;
+ // public static RemoteServicesImpl CreateForCurrentPlatform(string baseCdnUrl, string fallbackCdnUrl = null)
+ // {
+ // fallbackCdnUrl = fallbackCdnUrl ?? baseCdnUrl;
- var platform = PlatformFactory.GetCurrent();
- var platformType = platform.GetPlatformType();
+ // var platform = PlatformFactory.GetCurrent();
+ // var platformType = platform.GetPlatformType();
- // 鎸夊钩鍙扮被鍨嬭矾鐢卞瓙璺緞
- string platformPath = GetPlatformCdnPath(platformType);
+ // // 鎸夊钩鍙扮被鍨嬭矾鐢卞瓙璺緞
+ // string platformPath = GetPlatformCdnPath(platformType);
- string mainUrl = $"{baseCdnUrl}/{platformPath}";
- string fallbackUrl = $"{fallbackCdnUrl}/{platformPath}";
+ // string mainUrl = $"{baseCdnUrl}/{platformPath}";
+ // string fallbackUrl = $"{fallbackCdnUrl}/{platformPath}";
- UnityEngine.Debug.Log($"[RemoteServicesImpl] Platform={platformType}, CDN={mainUrl}");
- return new RemoteServicesImpl(mainUrl, fallbackUrl);
- }
+ // UnityEngine.Debug.Log($"[RemoteServicesImpl] Platform={platformType}, CDN={mainUrl}");
+ // return new RemoteServicesImpl(mainUrl, fallbackUrl);
+ // }
/// <summary>
/// 鑾峰彇骞冲彴瀵瑰簲鐨� CDN 瀛愯矾寰勩��
--
Gitblit v1.8.0