| | |
| | | */ |
| | | 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 = 50 * 1024 * 1024; |
| | | } |