修改警告4

Uat_Study
hang 2023-11-30 17:44:47 +08:00
parent 3a96710210
commit 9f80386a19
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ namespace IRaCIS.Core.Application.Service
sendEmailConfig.HtmlBodyStr = htmlBodyStr.Replace(EmailNamePlaceholder, string.Join(isEn_us ? ", " : "、", toUserList.Select(t => t.FullName).ToList()));
}
if (toUserList.Count() == 0)
if (toUserList.Count == 0)
{
//---没有收件人,无法发送邮件
throw new BusinessValidationFailedException(_localizer["TrialEmailN_NoRecipient"]);