package com.lf.server.entity.all; /** * 设置数据类 * @author WWW */ public class SettingData { /** * 访问排除路径 */ public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/proxy"}; /** * 自动登出时间 */ 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有效期 */ public static int COOKIE_MAX_AGE = 4 * 60 * 60; /** * 附件大小 */ public static long MAX_FILE_SIZE = 20 * 1024 * 1024; }