From 917b2d2604ac535c202eba2386e354cd1f5003b0 Mon Sep 17 00:00:00 2001 From: FloatGaming <3118444022@qq.com> Date: Tue, 30 Jun 2026 21:32:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/mailSystem/mailSlotPrefab.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Assets/mailSystem/mailSlotPrefab.cs b/Assets/mailSystem/mailSlotPrefab.cs index 7d1c2244..4813e514 100644 --- a/Assets/mailSystem/mailSlotPrefab.cs +++ b/Assets/mailSystem/mailSlotPrefab.cs @@ -100,21 +100,6 @@ public class mailSlotPrefab : MonoBehaviour return; } - if (!url.StartsWith("http://", System.StringComparison.OrdinalIgnoreCase) - && !url.StartsWith("https://", System.StringComparison.OrdinalIgnoreCase)) - { - NetworkManager network = NetworkManager.Instance; - if (network != null && !string.IsNullOrWhiteSpace(network.ServerUrl)) - { - string baseUrl = network.ServerUrl.TrimEnd('/'); - if (!url.StartsWith("/")) - { - url = "/" + url; - } - url = baseUrl + url; - } - } - if (RewardPreviewCache.TryGetValue(url, out Sprite cachedSprite) && cachedSprite != null) { icon.sprite = cachedSprite;