From 1c30ee4068eb5dba3c6b9a4987b98034f2a622d0 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 13 一月 2025 10:49:47 +0800
Subject: [PATCH] 登录界面修改

---
 Service/HStation.Service.Assets.Core/05-service/15-Tank/02-TankMain/AssetsTankMainCacheHelper.cs |  115 ++++++++++++++++++++++++++++-----------------------------
 1 files changed, 57 insertions(+), 58 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/15-Tank/02-TankMain/AssetsTankMainCacheHelper.cs b/Service/HStation.Service.Assets.Core/05-service/15-Tank/02-TankMain/AssetsTankMainCacheHelper.cs
index 48604db..bc198c5 100644
--- a/Service/HStation.Service.Assets.Core/05-service/15-Tank/02-TankMain/AssetsTankMainCacheHelper.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/15-Tank/02-TankMain/AssetsTankMainCacheHelper.cs
@@ -3,72 +3,71 @@
     /// <summary>
     /// 姘存睜
     ///</summary>   
-    internal class AssetsTankMainCacheHelper  
+    internal class AssetsTankMainCacheHelper
     {
-         
-		private const string _contentKey = "AssetsTankMainList";
 
-		internal static string GetCacheKey()
-		{
-			return CacheHelper.GetCacheKey(_contentKey);
-		}
+        private const string _contentKey = "AssetsTankMainList";
 
-		/// <summary>
-		/// 璁剧疆缂撳瓨
-		/// </summary>
-		public static void Set(List<Model.AssetsTankMain> list, int Minites = 30, int RandomSeconds = 0)
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds);
-		}
+        internal static string GetCacheKey()
+        {
+            return CacheHelper.GetCacheKey(_contentKey);
+        }
 
-		/// <summary>
-		/// 鑾峰彇缂撳瓨
-		/// </summary>
-		/// <returns></returns>
-		public static List<Model.AssetsTankMain> Get()
-		{
-			var cacheKey = GetCacheKey();
-			return MemoryCacheHelper.Get<List<Model.AssetsTankMain>>(cacheKey);
-		}
+        /// <summary>
+        /// 璁剧疆缂撳瓨
+        /// </summary>
+        public static void Set(List<Model.AssetsTankMain> list, int Minites = 30, int RandomSeconds = 0)
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds);
+        }
 
-		/// <summary>
-		/// 鑾峰彇璁剧疆缂撳瓨
-		/// </summary>
-		public static List<Model.AssetsTankMain> GetSet(Func<List<Model.AssetsTankMain>> func, int Minites = 30, int RandomSeconds = 0)
-		{
-			var cacheKey = GetCacheKey();
-			return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);
-		}
+        /// <summary>
+        /// 鑾峰彇缂撳瓨
+        /// </summary>
+        /// <returns></returns>
+        public static List<Model.AssetsTankMain> Get()
+        {
+            var cacheKey = GetCacheKey();
+            return MemoryCacheHelper.Get<List<Model.AssetsTankMain>>(cacheKey);
+        }
 
-		/// <summary>
-		/// 绉婚櫎缂撳瓨
-		/// </summary>
-		public static void Remove()
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheHelper.Remove(cacheKey);
-		}
+        /// <summary>
+        /// 鑾峰彇璁剧疆缂撳瓨
+        /// </summary>
+        public static List<Model.AssetsTankMain> GetSet(Func<List<Model.AssetsTankMain>> func, int Minites = 30, int RandomSeconds = 0)
+        {
+            var cacheKey = GetCacheKey();
+            return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);
+        }
 
-		/// <summary>
-		/// 鍙戝竷
-		/// </summary>
-		public static void Publish(string key)
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheWipeRelationHelper.Set(key, cacheKey);
-		}
+        /// <summary>
+        /// 绉婚櫎缂撳瓨
+        /// </summary>
+        public static void Remove()
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheHelper.Remove(cacheKey);
+        }
 
-		/// <summary>
-		/// 瑙﹀彂
-		/// </summary>
-		public static void Trigger()
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheWipeRelationHelper.Trigger(cacheKey);
-		}
+        /// <summary>
+        /// 鍙戝竷
+        /// </summary>
+        public static void Publish(string key)
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheWipeRelationHelper.Set(key, cacheKey);
+        }
+
+        /// <summary>
+        /// 瑙﹀彂
+        /// </summary>
+        public static void Trigger()
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheWipeRelationHelper.Trigger(cacheKey);
+        }
 
     }
 }
-  
- 
\ No newline at end of file
+

--
Gitblit v1.9.3