平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SysConfigConst.cs 4.1 KiB

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