namespace Admin.NET.Core; /// /// 通用常量 /// [Const("平台配置")] public class CommonConst { /// /// 演示环境开关 /// public const string SysDemoEnv = "sys_demo"; /// /// 默认密码 /// public const string SysPassword = "sys_password"; /// /// 登录二次验证 /// public const string SysSecondVer = "sys_second_ver"; /// /// 开启图形验证码 /// public const string SysCaptcha = "sys_captcha"; /// /// 开启水印 /// public const string SysWatermark = "sys_watermark"; /// /// 开启操作日志 /// public const string SysOpLog = "sys_oplog"; /// /// Token过期时间 /// public const string SysTokenExpire = "sys_token_expire"; /// /// RefreshToken过期时间 /// public const string SysRefreshTokenExpire = "sys_refresh_token_expire"; /// /// 单用户登录 /// public const string SysSingleLogin = "sys_single_login"; /// /// 系统管理员角色编码 /// public const string SysAdminRole = "sys_admin"; /// /// 开启全局脱敏处理(默认不开启) /// public static bool SysSensitiveDetection = false; }