From ab849f796bdc17236a95ea5fe5c166fb8f24a75c Mon Sep 17 00:00:00 2001
From: sws <15810472099@163.com>
Date: 星期六, 26 十一月 2022 16:12:02 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/SettingData.java |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 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
new file mode 100644
index 0000000..f3a1266
--- /dev/null
+++ b/src/main/java/com/lf/server/entity/all/SettingData.java
@@ -0,0 +1,47 @@
+package com.lf.server.entity.all;
+
+/**
+ * 璁剧疆鏁版嵁绫�
+ * @author WWW
+ */
+public class SettingData {
+    /**
+     * 瀵嗙爜鍑洪敊娆℃暟
+     */
+    public static int PWD_ERR_COUNT = 5;
+
+    /**
+     * 鍑洪敊绛夊緟鏃堕棿
+     */
+    public static int PWD_ERR_TIME = 5;
+
+    /**
+     * 鑷姩鐧诲嚭鏃堕棿
+     */
+    public static int AUTO_LOGOUT = 15;
+
+    /**
+     * 浠ょ墝鏈夋晥鏈�
+     */
+    public static int TOKEN_EXPIRE = 240;
+
+    /**
+     * 缂撳瓨鏈夋晥鏈�
+     */
+    public static int CACHE_EXPIRE = 240;
+
+    /**
+     * 鏈�澶ф枃浠舵暟
+     */
+    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