From 549b9ad0a143b6fbd86ce02ddfa470b5556126e7 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 23 十月 2024 22:12:38 +0800 Subject: [PATCH] 水力计算前提条件 --- Service/HStation.Service.Organize.Core/05-service/03-LoginUserMain---/Cache/LoginUserMainCacheHelper.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Service/HStation.Service.Organize.Core/05-service/03-LoginUserMain---/Cache/LoginUserMainCacheHelper.cs b/Service/HStation.Service.Organize.Core/05-service/03-LoginUserMain---/Cache/LoginUserMainCacheHelper.cs index c2554c4..e5b785f 100644 --- a/Service/HStation.Service.Organize.Core/05-service/03-LoginUserMain---/Cache/LoginUserMainCacheHelper.cs +++ b/Service/HStation.Service.Organize.Core/05-service/03-LoginUserMain---/Cache/LoginUserMainCacheHelper.cs @@ -16,7 +16,7 @@ /// <summary> /// 璁剧疆缂撳瓨 /// </summary> - public static void Set(List<Model.LoginUserMain> list, int Minites = 30, int RandomSeconds = 0) + public static void Set(List<Model.UserLoginAccount> list, int Minites = 30, int RandomSeconds = 0) { var cacheKey = GetCacheKey(); MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds); @@ -26,16 +26,16 @@ /// 鑾峰彇缂撳瓨 /// </summary> /// <returns></returns> - public static List<Model.LoginUserMain> Get() + public static List<Model.UserLoginAccount> Get() { var cacheKey = GetCacheKey(); - return MemoryCacheHelper.Get<List<Model.LoginUserMain>>(cacheKey); + return MemoryCacheHelper.Get<List<Model.UserLoginAccount>>(cacheKey); } /// <summary> /// 鑾峰彇璁剧疆缂撳瓨 /// </summary> - public static List<Model.LoginUserMain> GetSet(Func<List<Model.LoginUserMain>> func, int Minites = 30, int RandomSeconds = 0) + public static List<Model.UserLoginAccount> GetSet(Func<List<Model.UserLoginAccount>> func, int Minites = 30, int RandomSeconds = 0) { var cacheKey = GetCacheKey(); return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds); -- Gitblit v1.9.3