From ed8c7a5effd0d423ce1118b680ecdca6fe732609 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:43:13 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/P2022036_Service --- src/main/java/com/lf/server/entity/all/SettingData.java | 39 ++++++++++++++++++++++++++++++++------- 1 files changed, 32 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..9d6537f 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,52 @@ */ 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; /** - * 闄勪欢澶у皬 + * 鏈�澶ф枃浠舵暟锛�2000 */ - public static Integer MAX_FILE_SIZE = 20 * 1024 * 1024; + public static int MAX_FILES = 2001; + + /** + * Cookie鏈夋晥鏈燂細s + */ + public static int COOKIE_MAX_AGE = 4 * 60 * 60; + + /** + * 闄勪欢澶у皬锛欱 + */ + public static long MAX_FILE_SIZE = 50 * 1024 * 1024; + + /** + * 鐢ㄦ埛璁块棶閲� + */ + public static int MAX_USER_LOGIN = 1000; + + /** + * 鏈嶅姟涓婇檺 + */ + public static int MAX_SERVERS = 100000; } -- Gitblit v1.9.3