From f31fc9f42f78de0808e7f4bdc797c5e622df09e3 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 10 Jun 2026 11:22:37 +0800
Subject: [PATCH] 1
---
trading-order-security-common/src/main/java/com/yami/trading/security/common/manager/PasswordCheckManager.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trading-order-security-common/src/main/java/com/yami/trading/security/common/manager/PasswordCheckManager.java b/trading-order-security-common/src/main/java/com/yami/trading/security/common/manager/PasswordCheckManager.java
index 324095a..6654385 100644
--- a/trading-order-security-common/src/main/java/com/yami/trading/security/common/manager/PasswordCheckManager.java
+++ b/trading-order-security-common/src/main/java/com/yami/trading/security/common/manager/PasswordCheckManager.java
@@ -47,7 +47,7 @@
count = RedisUtil.get(checkPrefix + userNameOrMobile);
}
if(count > TIMES_CHECK_INPUT_PASSWORD_NUM){
- throw new YamiShopBindException("密码输入错误十次,已限制登录30分钟");
+ throw new YamiShopBindException("You have entered the wrong password ten times; your login has been restricted for 30 minutes.");
}
// 半小时后失效
RedisUtil.set(checkPrefix + userNameOrMobile,count,1800);
@@ -56,7 +56,7 @@
count++;
// 半小时后失效
RedisUtil.set(checkPrefix + userNameOrMobile,count,1800);
- throw new YamiShopBindException("账号或密码不正确");
+ throw new YamiShopBindException("Incorrect username or password");
}
}
}
--
Gitblit v1.9.3