From bb5865148234cad04ae31d4de9264f4209a3fa6d Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 24 十月 2024 14:02:29 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- 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