feat: 提醒恶意登录

This commit is contained in:
wangyu 2021-01-12 18:09:27 +08:00
parent a79c27b228
commit 88f97a6896
1 changed files with 5 additions and 0 deletions

View File

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