工作单元 +发送邮件提示修改

This commit is contained in:
2022-11-23 13:55:04 +08:00
parent 3bbba03113
commit 5805393d76
4 changed files with 53 additions and 28 deletions
@@ -163,7 +163,7 @@ namespace IRaCIS.Core.Application.Service
}
else
{
{
return ResponseOutput.NotOk("人员信息不支持编辑,请删除后重新添加。");
}
@@ -199,6 +199,7 @@ namespace IRaCIS.Core.Application.Service
[HttpPost]
[Authorize(Policy = IRaCISPolicy.PM_APM)]
[TypeFilter(typeof(TrialResourceFilter))]
[UnitOfWork]
public async Task<IResponseOutput> SendExternalUserJoinEmail(TrialExternalUserSendEmail sendEmail)
{
var trialId = sendEmail.TrialId;
@@ -207,6 +208,7 @@ namespace IRaCIS.Core.Application.Service
{
var userId = userInfo.SystemUserId;
await _mailVerificationService.ExternalUserJoinEmail(trialId, userId, sendEmail.BaseUrl, sendEmail.RouteUrl);