emoticon_api/ARW.Service/System/CacheService.cs
2023-06-02 21:15:33 +08:00

29 lines
651 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ARW.Common;
namespace ARW.Service.System
{
public class CacheService
{
#region
public static List<string> GetUserPerms(string key)
{
return (List<string>)CacheHelper.GetCache(key);
}
public static void SetUserPerms(string key, object data)
{
CacheHelper.SetCache(key, data);
}
public static void RemoveUserPerms(string key)
{
CacheHelper.Remove(key);
}
#endregion
}
}