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/PlatformCacheHelper.cs | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/Main/ResModule/PlatformCacheHelper.cs b/Main/ResModule/PlatformCacheHelper.cs
index 137d48e..d156b87 100644
--- a/Main/ResModule/PlatformCacheHelper.cs
+++ b/Main/ResModule/PlatformCacheHelper.cs
@@ -57,18 +57,19 @@
/// </summary>
public static int GetCacheSizeLimitMB()
{
- var platform = PlatformFactory.GetCurrent();
- switch (platform.GetPlatformType())
- {
- case PlatformType.WeChat:
- return 200; // 寰俊灏忔父鎴忕敤鎴锋暟鎹笂闄愮害 200MB
- case PlatformType.Douyin:
- return 200; // 鎶栭煶灏忔父鎴忕被浼奸檺鍒�
- case PlatformType.Vivo:
- return 100; // Vivo 闄愬埗杈冨皬
- default:
- return 1024; // Standalone 鏃犱弗鏍奸檺鍒�
- }
+ return 1024;
+ // var platform = PlatformFactory.GetCurrent();
+ // switch (platform.GetPlatformType())
+ // {
+ // case PlatformType.WeChat:
+ // return 200; // 寰俊灏忔父鎴忕敤鎴锋暟鎹笂闄愮害 200MB
+ // case PlatformType.Douyin:
+ // return 200; // 鎶栭煶灏忔父鎴忕被浼奸檺鍒�
+ // case PlatformType.Vivo:
+ // return 100; // Vivo 闄愬埗杈冨皬
+ // default:
+ // return 1024; // Standalone 鏃犱弗鏍奸檺鍒�
+ // }
}
/// <summary>
--
Gitblit v1.8.0