feat: 提醒恶意登录

This commit is contained in:
wangyu 2021-01-12 18:09:27 +08:00
parent a79c27b228
commit 88f97a6896

View File

@ -92,6 +92,11 @@ public class User extends AuditDomain implements IUser {
@Transient
private Object detail;
/**
* 错误次数防止恶意登录
*/
private Integer errorCount = 0;
@Override
public User toUser() {
return this;