namespace Common.Const
{
///
/// 缓存相关常量
///
public class RedisConstMgr
{
/////
///// 用户缓存
/////
//public const string KeyUser = "sys_user:";
/////
///// 用户菜单缓存
/////
//public const string KeyUserMenu = "sys_user_menu:";
///
/// 用户权限缓存(按钮集合)
///
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 KeyErrorPasswordCount = "sys_errorPasswordCount:";
///
/// 租户缓存
///
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:";
}
}