perf:调整登录日志,同时限制登录失败次数(10分钟内最多5次)

This commit is contained in:
曾文豪
2024-08-28 20:35:38 +08:00
parent a9f218de89
commit 4690fa9f88
11 changed files with 175 additions and 49 deletions

View File

@@ -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 {

View File

@@ -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;