update 适配ruoyi错误登录与解锁功能

This commit is contained in:
疯狂的狮子li
2022-08-08 10:21:20 +08:00
parent be7766b5f0
commit 515657616a
6 changed files with 74 additions and 85 deletions

View File

@ -17,11 +17,6 @@ public interface CacheConstants {
*/
String ONLINE_TOKEN_KEY = "online_tokens:";
/**
* 登陆错误 redis key
*/
String LOGIN_ERROR = "login_error:";
/**
* 验证码 redis key
*/

View File

@ -62,16 +62,6 @@ public interface Constants {
*/
Integer CAPTCHA_EXPIRATION = 2;
/**
* 登录错误次数
*/
Integer LOGIN_ERROR_NUMBER = 5;
/**
* 登录错误限制时间(分钟)
*/
Integer LOGIN_ERROR_LIMIT_TIME = 10;
/**
* 令牌
*/