|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
-
- //
-
-
-
-
-
-
-
-
- namespace SafeCampus.System;
-
- /// <summary>
- /// 系统层常量
- /// </summary>
- public class SystemConst
- {
- /// <summary>
- /// 系统配置表缓存Key
- /// </summary>
- public const string CACHE_DEV_CONFIG = CacheConst.CACHE_PREFIX_WEB + "SysConfig:";
-
- /// <summary>
- /// 登录验证码缓存Key
- /// </summary>
- public const string CACHE_CAPTCHA = CacheConst.CACHE_PREFIX_WEB + "Captcha:";
-
- /// <summary>
- /// 用户表缓存Key
- /// </summary>
- public const string CACHE_SYS_USER = CacheConst.CACHE_PREFIX_WEB + "SysUser";
-
- /// <summary>
- /// 用户头像缓存关系Key
- /// </summary>
- public const string CACHE_SYS_USER_AVATAR = CacheConst.CACHE_PREFIX_WEB + "SysUserAvatar";
-
- /// <summary>
- /// 用户手机号关系缓存Key
- /// </summary>
- public const string CACHE_SYS_USER_PHONE = CacheConst.CACHE_PREFIX_WEB + "SysUserPhone";
-
- /// <summary>
- /// 用户手机号关系缓存Key
- /// </summary>
- public const string CACHE_SYS_USER_ACCOUNT = CacheConst.CACHE_PREFIX_WEB + "SysUserAccount";
-
- /// <summary>
- /// 资源表缓存Key
- /// </summary>
- public const string CACHE_SYS_RESOURCE = CacheConst.CACHE_PREFIX_WEB + "SysResource:";
-
- /// <summary>
- /// 字典表缓存Key
- /// </summary>
- public const string CACHE_DEV_DICT = CacheConst.CACHE_PREFIX_WEB + "SysDict";
-
- /// <summary>
- /// 关系表缓存Key
- /// </summary>
- public const string CACHE_SYS_RELATION = CacheConst.CACHE_PREFIX_WEB + "SysRelation:";
-
- /// <summary>
- /// 机构表缓存Key
- /// </summary>
- public const string CACHE_SYS_ORG = CacheConst.CACHE_PREFIX_WEB + "SysOrg";
-
- /// <summary>
- /// 机构对应租户关系缓存Key
- /// </summary>
- public const string CACHE_SYS_ORG_TENANT = CacheConst.CACHE_PREFIX_WEB + "SysOrgTenant";
-
- /// <summary>
- /// 租户列表缓存
- /// </summary>
- public const string CACHE_SYS_TENANT = CacheConst.CACHE_PREFIX_WEB + "Tenant";
-
- /// <summary>
- /// 角色表缓存Key
- /// </summary>
- public const string CACHE_SYS_ROLE = CacheConst.CACHE_PREFIX_WEB + "SysRole";
-
- /// <summary>
- /// 职位表缓存Key
- /// </summary>
- public const string CACHE_SYS_POSITION = CacheConst.CACHE_PREFIX_WEB + "SysPosition";
-
- #region 登录错误次数
-
- /// <summary>
- /// 登录错误次数缓存Key
- /// </summary>
- public const string CACHE_LOGIN_ERROR_COUNT = CacheConst.CACHE_PREFIX_WEB + "LoginErrorCount:";
-
- #endregion 登录错误次数
-
- #region 操作
-
- /// <summary>
- /// 添加操作
- /// </summary>
- public const string ADD = "添加";
-
- /// <summary>
- /// 编辑操作
- /// </summary>
- public const string EDIT = "编辑";
-
- /// <summary>
- /// 启用操作
- /// </summary>
- public const string ENABLE = "启用";
-
- /// <summary>
- /// 禁用操作
- /// </summary>
- public const string DISABLE = "禁用";
-
- /// <summary>
- /// 重置密码操作
- /// </summary>
- public const string RESET_PWD = "重置密码";
-
- /// <summary>
- /// 用户授权操作
- /// </summary>
- public const string GRANT_ROLE = "授权";
-
- #endregion 操作
-
- #region 别称
-
- /// <summary>
- /// 组织
- /// </summary>
- public const string SYS_ORG = "组织";
-
-
- /// <summary>
- /// 职位
- /// </summary>
- public const string SYS_POS = "职位";
-
- #endregion 别称
- }
|