namespace YY.Admin.Core.Const;
///
/// 缓存相关常量
///
public class CacheConst
{
///
/// 用户权限缓存(按钮集合)
///
public const string KeyUserButton = "sys_user_button:";
///
/// 用户机构缓存
///
public const string KeyUserOrg = "sys_user_org:";
///
/// 角色最大数据范围缓存
///
public const string KeyRoleMaxDataScope = "sys_role_maxDataScope:";
///
/// 在线用户缓存
///
public const string KeyUserOnline = "sys_user_online:";
///
/// 图形验证码缓存
///
public const string KeyVerCode = "sys_verCode:";
///
/// 手机验证码缓存
///
public const string KeyPhoneVerCode = "sys_phoneVerCode:";
///
/// 密码错误次数缓存
///
public const string KeyPasswordErrorTimes = "sys_password_error_times:";
///
/// 租户缓存
///
public const string KeyTenant = "sys_tenant";
///
/// 常量下拉框
///
public const string KeyConst = "sys_const:";
///
/// 所有缓存关键字集合
///
public const string KeyAll = "sys_keys";
///
/// SqlSugar二级缓存
///
public const string SqlSugar = "sys_sqlSugar:";
///
/// 开放接口身份缓存
///
public const string KeyOpenAccess = "sys_open_access:";
///
/// 开放接口身份随机数缓存
///
public const string KeyOpenAccessNonce = "sys_open_access_nonce:";
///
/// 登录黑名单
///
public const string KeyBlacklist = "sys_blacklist:";
///
/// 系统配置缓存
///
public const string KeyConfig = "sys_config:";
///
/// 系统租户配置缓存
///
public const string KeyTenantConfig = "sys_tenant_config:";
///
/// 系统用户配置缓存
///
public const string KeyUserConfig = "sys_user_config:";
///
/// 系统字典缓存
///
public const string KeyDict = "sys_dict:";
///
/// 系统租户字典缓存
///
public const string KeyTenantDict = "sys_tenant_dict:";
///
/// 重复请求(幂等)字典缓存
///
public const string KeyIdempotent = "sys_idempotent:";
///
/// Excel临时文件缓存
///
public const string KeyExcelTemp = "sys_excel_temp:";
///
/// 系统更新命令日志缓存
///
public const string KeySysUpdateLog = "sys_update_log";
///
/// 系统更新间隔标记缓存
///
public const string KeySysUpdateInterval = "sys_update_interval";
}