From dc59d63cfa8cac113c4834e6b7d90c0af61df31f Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 27 十月 2022 20:38:20 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/SettingData.java |   29 ++++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/lf/server/entity/all/SettingData.java b/src/main/java/com/lf/server/entity/all/SettingData.java
index 98b981f..f3a1266 100644
--- a/src/main/java/com/lf/server/entity/all/SettingData.java
+++ b/src/main/java/com/lf/server/entity/all/SettingData.java
@@ -6,27 +6,42 @@
  */
 public class SettingData {
     /**
-     * 鎺掗櫎璺緞锛�"/druid/",
+     * 瀵嗙爜鍑洪敊娆℃暟
      */
-    public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/proxy"};
+    public static int PWD_ERR_COUNT = 5;
+
+    /**
+     * 鍑洪敊绛夊緟鏃堕棿
+     */
+    public static int PWD_ERR_TIME = 5;
 
     /**
      * 鑷姩鐧诲嚭鏃堕棿
      */
-    public static Integer AUTO_LOGOUT = 15;
+    public static int AUTO_LOGOUT = 15;
 
     /**
      * 浠ょ墝鏈夋晥鏈�
      */
-    public static Integer TOKEN_EXPIRE = 240;
+    public static int TOKEN_EXPIRE = 240;
 
     /**
      * 缂撳瓨鏈夋晥鏈�
      */
-    public static Integer CACHE_EXPIRE = 240;
+    public static int CACHE_EXPIRE = 240;
 
     /**
-     * 闄勪欢澶у皬
+     * 鏈�澶ф枃浠舵暟
      */
-    public static Integer MAX_FILE_SIZE = 20 * 1024 * 1024;
+    public static int MAX_FILES = 2000;
+
+    /**
+     * Cookie鏈夋晥鏈燂細s
+     */
+    public static int COOKIE_MAX_AGE = 4 * 60 * 60;
+
+    /**
+     * 闄勪欢澶у皬锛欱
+     */
+    public static long MAX_FILE_SIZE = 50 * 1024 * 1024;
 }

--
Gitblit v1.9.3