package com.moon.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;
|
|
/**
|
* 最大文件数:2000
|
*/
|
public static int MAX_FILES = 2001;
|
|
/**
|
* Cookie有效期:s
|
*/
|
public static int COOKIE_MAX_AGE = 4 * 60 * 60;
|
|
/**
|
* 附件大小:B
|
*/
|
public static long MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
/**
|
* 用户访问量
|
*/
|
public static int MAX_USER_LOGIN;
|
|
/**
|
* 服务上限
|
*/
|
public static int MAX_SERVERS;
|
}
|