补全缺少的缓存块
This commit is contained in:
parent
2bd8ae351d
commit
3e422db402
@ -47,6 +47,9 @@ public class CacheController
|
||||
caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交"));
|
||||
caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理"));
|
||||
caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数"));
|
||||
caches.add(new SysCache(CacheConstants.IP_ERR_CNT_KEY, "IP错误次数"));
|
||||
caches.add(new SysCache(CacheConstants.FILE_MD5_PATH_KEY, "path-md5"));
|
||||
caches.add(new SysCache(CacheConstants.FILE_PATH_MD5_KEY, "md5-path"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,6 +40,7 @@ public class Ehcache3Config {
|
||||
cacheManager.createCache("repeat_submit", mutableConfiguration);
|
||||
cacheManager.createCache("captcha_codes", mutableConfiguration);
|
||||
cacheManager.createCache("login_tokens", mutableConfiguration);
|
||||
cacheManager.createCache("ip_err_cnt_key", mutableConfiguration);
|
||||
cacheManager.createCache("rate_limit", mutableConfiguration);
|
||||
cacheManager.createCache("pwd_err_cnt", mutableConfiguration);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user