From 9b4ea2631cc800c376116ed97aca11c8fac956d8 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 12 十月 2022 17:54:57 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/SettingData.java |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 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..e48334c 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,37 @@
  */
 public class SettingData {
     /**
-     * 鎺掗櫎璺緞锛�"/druid/",
+     * 璁块棶鎺掗櫎璺緞
      */
     public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/proxy"};
 
     /**
      * 鑷姩鐧诲嚭鏃堕棿
      */
-    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 int MAX_FILES = 2000;
+
+    /**
+     * Cookie鏈夋晥鏈�
+     */
+    public static int COOKIE_MAX_AGE = 4 * 60 * 60;
 
     /**
      * 闄勪欢澶у皬
      */
-    public static Integer MAX_FILE_SIZE = 20 * 1024 * 1024;
+    public static long MAX_FILE_SIZE = 20 * 1024 * 1024;
 }

--
Gitblit v1.9.3