ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -84,6 +84,21 @@ Integer CAPTCHA_EXPIRATION = 2; /** * 登陆错误 redis key */ String LOGIN_ERROR = "login_error:"; /** * 登录错误次数 */ Integer LOGIN_ERROR_NUMBER = 5; /** * 登录错误限制时间(分钟) */ Integer LOGIN_ERROR_LIMIT_TIME = 10; /** * 令牌 */ String TOKEN = "token";