perf:调整登录日志,同时限制登录失败次数(10分钟内最多5次)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.tiesheng.web;
|
||||
|
||||
import com.tiesheng.database.DatabaseAutoConfigurer;
|
||||
import com.tiesheng.encrypt.EncryptAutoConfigurer;
|
||||
import com.tiesheng.message.MessageAutoConfigurer;
|
||||
import com.tiesheng.platform.PlatformAutoConfigurer;
|
||||
import com.tiesheng.util.UtilAutoConfigurer;
|
||||
@@ -21,7 +20,6 @@ import java.lang.annotation.*;
|
||||
MessageAutoConfigurer.class,
|
||||
WebAutoConfigurer.class,
|
||||
DatabaseAutoConfigurer.class,
|
||||
EncryptAutoConfigurer.class,
|
||||
PlatformAutoConfigurer.class,
|
||||
})
|
||||
public @interface EnableTieshengWeb {
|
||||
|
||||
@@ -78,4 +78,12 @@ alter table core_log_process
|
||||
alter table core_log_process
|
||||
change fail_file result_file varchar(500) null comment '失败的文件';
|
||||
|
||||
## 2.0.2
|
||||
|
||||
alter table core_log_login
|
||||
add result int(10) not null default 1 comment '登录结果,0否,1是';
|
||||
|
||||
alter table core_log_login
|
||||
add params longtext null comment '请求参数';
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
Reference in New Issue
Block a user