工作单元 +发送邮件提示修改
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user