From 1d54ef57c7cc1d85168f122cabc73d6397333755 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 21 十二月 2021 10:54:57 +0800 Subject: [PATCH] update 更新 nginx 配置文件关于 https 可能遇到的问题与解决方案说明 --- 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