Files
KinginfoGateway/src/ThingsGateway.Admin.Application/Const/ConfigConst.cs
Kimdiego2098 6e11b885f9 同步代码
2024-02-21 09:38:34 +08:00

95 lines
2.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
// 使用文档https://diego2098.gitee.io/thingsgateway-docs/
// QQ群605534569
//------------------------------------------------------------------------------
namespace ThingsGateway.Admin.Application;
/// <summary>
/// 系统配置常量
/// </summary>
public class ConfigConst
{
/// <summary>
/// 系统默认工作台
/// </summary>
public const string SYS_DEFAULT_WORKBENCH_DATA = "SYS_DEFAULT_WORKBENCH_DATA";
/// <summary>
/// 系统默认主页
/// </summary>
public const string SYS_DEFAULT_DEFAULT_RAZOR = "SYS_DEFAULT_DEFAULT_RAZOR";
#region
/// <summary>
/// 登录验证码开关
/// </summary>
public const string LOGIN_CAPTCHA_OPEN = "LOGIN_CAPTCHA_OPEN";
/// <summary>
/// 单用户登录开关
/// </summary>
public const string LOGIN_SINGLE_OPEN = "LOGIN_SINGLE_OPEN";
/// <summary>
/// 登录错误锁定时长
/// </summary>
public const string LOGIN_ERROR_LOCK = "LOGIN_ERROR_LOCK";
/// <summary>
/// 登录错误锁定时长
/// </summary>
public const string LOGIN_ERROR_RESET_TIME = "LOGIN_ERROR_RESET_TIME";
/// <summary>
/// 登录错误次数
/// </summary>
public const string LOGIN_ERROR_COUNT = "LOGIN_ERROR_COUNT";
/// <summary>
/// Verificat过期时间(分)
/// </summary>
public const string LOGIN_VERIFICAT_EXPIRES = "LOGIN_VERIFICAT_EXPIRES";
#endregion
#region
/// <summary>
/// 默认用户密码
/// </summary>
public const string PWD_DEFAULT_PASSWORD = "PWD_DEFAULT_PASSWORD";
/// <summary>
/// 密码最小长度
/// </summary>
public const string PWD_MIN_LENGTH = "PWD_MIN_LENGTH";
/// <summary>
/// 包含数字
/// </summary>
public const string PWD_CONTAIN_NUM = "PWD_CONTAIN_NUM";
/// <summary>
/// 包含小写字母
/// </summary>
public const string PWD_CONTAIN_LOWER = "PWD_CONTAIN_LOWER";
/// <summary>
/// 包含大写字母
/// </summary>
public const string PWD_CONTAIN_UPPER = "PWD_CONTAIN_UPPER";
/// <summary>
/// 包含特殊字符
/// </summary>
public const string PWD_CONTAIN_CHARACTER = "PWD_CONTAIN_CHARACTER";
#endregion
}