From d649282417d2af0d7781c74b416cd69c72dd4a5f Mon Sep 17 00:00:00 2001 From: wangyu Date: Wed, 13 Sep 2023 10:24:25 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9AccountService.java=20?= =?UTF-8?q?=E9=94=99=E5=88=AB=E5=AD=97=EF=BC=8C=E5=BA=94=E8=AF=A5=E5=B0=86?= =?UTF-8?q?=E2=80=9C=E7=99=BB=E9=99=86=E2=80=9D=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E2=80=9C=E7=99=BB=E5=BD=95=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangyu --- .../wefe/board/service/service/account/AccountService.java" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/BFPL\350\264\260/03.\346\272\220\347\240\201\351\225\234\345\203\217/WeFe/board/board-service/src/main/java/com/welab/wefe/board/service/service/account/AccountService.java" "b/BFPL\350\264\260/03.\346\272\220\347\240\201\351\225\234\345\203\217/WeFe/board/board-service/src/main/java/com/welab/wefe/board/service/service/account/AccountService.java" index 57016fa9..2c5232f3 100644 --- "a/BFPL\350\264\260/03.\346\272\220\347\240\201\351\225\234\345\203\217/WeFe/board/board-service/src/main/java/com/welab/wefe/board/service/service/account/AccountService.java" +++ "b/BFPL\350\264\260/03.\346\272\220\347\240\201\351\225\234\345\203\217/WeFe/board/board-service/src/main/java/com/welab/wefe/board/service/service/account/AccountService.java" @@ -148,7 +148,7 @@ public class AccountService extends AbstractService { // Check if it's in the small black room if (LoginSecurityPolicy.inDarkRoom(phoneNumber)) { - throw new StatusCodeWithException("账号已被禁止登陆,请一个小时后再试,或联系管理员。", StatusCode.PARAMETER_VALUE_INVALID); + throw new StatusCodeWithException("账号已被禁止登录,请一个小时后再试,或联系管理员。", StatusCode.PARAMETER_VALUE_INVALID); } AccountMySqlModel model = accountRepository.findOne("phoneNumber", phoneNumber, AccountMySqlModel.class); @@ -166,7 +166,7 @@ public class AccountService extends AbstractService { // Log a login failure event LoginSecurityPolicy.onLoginFail(phoneNumber); - throw new StatusCodeWithException("手机号或密码错误,连续错误 6 次会被禁止登陆,可以联系管理员重置密码找回账号。", StatusCode.PARAMETER_VALUE_INVALID); + throw new StatusCodeWithException("手机号或密码错误,连续错误 6 次会被禁止登录,可以联系管理员重置密码找回账号。", StatusCode.PARAMETER_VALUE_INVALID); } // Check audit status -- Gitee