平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

182 lines
4.1 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 系统配置常量
  5. /// </summary>
  6. public class SysConfigConst
  7. {
  8. #region MyRegion
  9. /// <summary>
  10. /// 系统名称
  11. /// </summary>
  12. public const string SYS_NAME = "SYS_NAME";
  13. /// <summary>
  14. /// ico图标
  15. /// </summary>
  16. public const string SYS_ICO = "SYS_ICO";
  17. /// <summary>
  18. /// 网站开启访问
  19. /// </summary>
  20. public const string SYS_WEB_STATUS = "SYS_WEB_STATUS";
  21. /// <summary>
  22. /// 网站关闭提示
  23. /// </summary>
  24. public const string SYS_WEB_CLOSE_PROMPT = "SYS_WEB_CLOSE_PROMPT";
  25. /// <summary>
  26. /// 系统logo
  27. /// </summary>
  28. public const string SYS_LOGO = "SYS_LOGO";
  29. /// <summary>
  30. /// 系统版本
  31. /// </summary>
  32. public const string SYS_VERSION = "SYS_VERSION";
  33. /// <summary>
  34. /// 多租户开关
  35. /// </summary>
  36. public const string SYS_TENANT_OPTIONS = "SYS_TENANT_OPTIONS";
  37. /// <summary>
  38. /// 系统默认工作台
  39. /// </summary>
  40. public const string SYS_DEFAULT_WORKBENCH_DATA = "SYS_DEFAULT_WORKBENCH_DATA";
  41. #endregion
  42. #region 登录策略
  43. /// <summary>
  44. /// 登录验证码开关
  45. /// </summary>
  46. public const string LOGIN_CAPTCHA_OPEN = "LOGIN_CAPTCHA_OPEN";
  47. /// <summary>
  48. /// 登录验证码开关
  49. /// </summary>
  50. public const string LOGIN_CAPTCHA_TYPE = "LOGIN_CAPTCHA_TYPE";
  51. /// <summary>
  52. /// 单用户登录开关
  53. /// </summary>
  54. public const string LOGIN_SINGLE_OPEN = "LOGIN_SINGLE_OPEN";
  55. /// <summary>
  56. /// 登录错误锁定时长
  57. /// </summary>
  58. public const string LOGIN_ERROR_LOCK = "LOGIN_ERROR_LOCK";
  59. /// <summary>
  60. /// 登录错误锁定时长
  61. /// </summary>
  62. public const string LOGIN_ERROR_RESET_TIME = "LOGIN_ERROR_RESET_TIME";
  63. /// <summary>
  64. /// 登录错误次数
  65. /// </summary>
  66. public const string LOGIN_ERROR_COUNT = "LOGIN_ERROR_COUNT";
  67. #endregion 登录策略
  68. #region 密码策略
  69. /// <summary>
  70. /// 默认用户密码
  71. /// </summary>
  72. public const string PWD_DEFAULT_PASSWORD = "PWD_DEFAULT_PASSWORD";
  73. /// <summary>
  74. /// 密码定期提醒更新
  75. /// </summary>
  76. public const string PWD_REMIND = "PWD_REMIND";
  77. /// <summary>
  78. /// 密码定期提醒更新时间
  79. /// </summary>
  80. public const string PWD_REMIND_DAY = "PWD_REMIND_DAY";
  81. /// <summary>
  82. /// 修改初始密码提醒
  83. /// </summary>
  84. public const string PWD_UPDATE_DEFAULT = "PWD_UPDATE_DEFAULT";
  85. /// <summary>
  86. /// 密码最小长度
  87. /// </summary>
  88. public const string PWD_MIN_LENGTH = "PWD_MIN_LENGTH";
  89. /// <summary>
  90. /// 包含数字
  91. /// </summary>
  92. public const string PWD_CONTAIN_NUM = "PWD_CONTAIN_NUM";
  93. /// <summary>
  94. /// 包含小写字母
  95. /// </summary>
  96. public const string PWD_CONTAIN_LOWER = "PWD_CONTAIN_LOWER";
  97. /// <summary>
  98. /// 包含大写字母
  99. /// </summary>
  100. public const string PWD_CONTAIN_UPPER = "PWD_CONTAIN_UPPER";
  101. /// <summary>
  102. /// 包含特殊字符
  103. /// </summary>
  104. public const string PWD_CONTAIN_CHARACTER = "PWD_CONTAIN_UPPER";
  105. #endregion 密码策略
  106. #region 存储引擎
  107. /// <summary>
  108. /// windows系统本地目录
  109. /// </summary>
  110. public const string FILE_LOCAL_FOLDER_FOR_WINDOWS = "FILE_LOCAL_FOLDER_FOR_WINDOWS";
  111. /// <summary>
  112. /// Unix系统本地目录
  113. /// </summary>
  114. public const string FILE_LOCAL_FOLDER_FOR_UNIX = "FILE_LOCAL_FOLDER_FOR_UNIX";
  115. /// <summary>
  116. /// MINIO文件AccessKey
  117. /// </summary>
  118. public const string FILE_MINIO_ACCESS_KEY = "FILE_MINIO_ACCESS_KEY";
  119. /// <summary>
  120. /// MINIO文件SecretKey
  121. /// </summary>
  122. public const string FILE_MINIO_SECRET_KEY = "FILE_MINIO_SECRET_KEY";
  123. /// <summary>
  124. /// MINIO文件EndPoint
  125. /// </summary>
  126. public const string FILE_MINIO_END_POINT = "FILE_MINIO_END_POINT";
  127. /// <summary>
  128. /// MINIO文件默认存储桶
  129. /// </summary>
  130. public const string FILE_MINIO_DEFAULT_BUCKET_NAME = "FILE_MINIO_DEFAULT_BUCKET_NAME";
  131. #endregion 存储引擎
  132. }