From a8227453fc9ae6826e0f02ef1f74b75052783170 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 27 十二月 2021 11:43:59 +0800 Subject: [PATCH] update hutool 5.7.17 => 5.7.18 bugfix update redisson 3.16.6 => 3.16.7 bugfix --- ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java index 0c5a92c..76e959d 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java +++ b/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"; -- Gitblit v1.9.3