namespace Admin.NET.Core; /// /// 缓存相关常量 /// public class CacheConst { /// /// 用户缓存 /// public const string KeyUser = "user:"; /// /// 菜单缓存 /// public const string KeyMenu = "menu:"; /// /// 权限缓存(按钮集合) /// public const string KeyPermission = "permission:"; /// /// 机构Id集合缓存 /// public const string KeyOrgIdList = "org:"; /// /// 角色最大数据范围缓存 /// public const string KeyMaxDataScope = "maxDataScope:"; /// /// 验证码缓存 /// public const string KeyVerCode = "verCode:"; /// /// 所有缓存关键字集合 /// public const string KeyAll = "keys"; /// /// 定时任务缓存 /// public const string KeyTimer = "timer:"; /// /// 在线用户缓存 /// public const string KeyOnlineUser = "onlineuser:"; /// /// 常量下拉框 /// public const string KeyConst = "const:"; /// /// swagger登录缓存 /// public const string SwaggerLogin = "swaggerLogin:"; /// /// 租户缓存 /// public const string KeyTenant = "tenant:list"; }