From 72c4fedfd54815c5933d6333b686fd7a0c6431a6 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 17 Jan 2023 17:21:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Inspection/InspectionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index 47f20477f..2828e97b8 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -248,7 +248,7 @@ namespace IRaCIS.Core.Application.Service.Inspection var user = await _repository.FirstOrDefaultAsync(u => u.UserName == signDTO.UserName && u.Password == signDTO.PassWord); if (user == null) { - throw new BusinessValidationFailedException("用户名或密码错误"); + throw new BusinessValidationFailedException(_localizer["User_CheckNameOrPw"]); } else if (user.Status == UserStateEnum.Disable) {