Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
shuaje committed Dec 15, 2017
1 parent cfc824f commit f65d24f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/top/ibase4j/core/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,22 @@ public interface Constants {
static final String USER_AGENT = "USER-AGENT";
/** 客户端信息 */
static final String USER_IP = "USER_IP";
/** 登录地址 */
static final String LOGIN_URL = "/login.html";
/** 缓存命名空间 */
static final String CACHE_NAMESPACE = "iBase4J:";
/** 缓存命名空间 */
static final String SYSTEM_CACHE_NAMESPACE = "SYSTEM:iBase4J:";
/** 上次请求地址 */
static final String PREREQUEST = CACHE_NAMESPACE + "PREREQUEST";
/** 上次请求时间 */
static final String PREREQUEST_TIME = CACHE_NAMESPACE + "PREREQUEST_TIME";
/** 登录地址 */
static final String LOGIN_URL = "/login.html";
/** 非法请求次数 */
static final String MALICIOUS_REQUEST_TIMES = CACHE_NAMESPACE + "MALICIOUS_REQUEST_TIMES";
/** 在线用户数量 */
static final String ALLUSER_NUMBER = "SYSTEM:" + CACHE_NAMESPACE + "ALLUSER_NUMBER";
static final String ALLUSER_NUMBER = SYSTEM_CACHE_NAMESPACE + "ALLUSER_NUMBER";
/** TOKEN */
static final String TOKEN_KEY = CACHE_NAMESPACE + "TOKEN_KEY";
static final String TOKEN_KEY = SYSTEM_CACHE_NAMESPACE + "TOKEN_KEY";

/** 日志表状态 */
interface JOBSTATE {
Expand Down

0 comments on commit f65d24f

Please sign in to comment.