From 3a017dbfa32902b737a6c19f71fa323a1d18b6fb Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 17 Nov 2025 11:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E4=BB=B6=E4=BA=BA?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/appsettings.US_Prod_IRC.json | 2 +- IRaCIS.Core.API/appsettings.US_Test_IRC.json | 2 +- IRaCIS.Core.API/appsettings.US_Uat_IRC.json | 2 +- .../IRaCIS.Core.Application.xml | 14 +++++++++++--- .../Service/Common/MailService.cs | 4 ++-- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/IRaCIS.Core.API/appsettings.US_Prod_IRC.json b/IRaCIS.Core.API/appsettings.US_Prod_IRC.json index 3740b6b9e..b77bd8fe7 100644 --- a/IRaCIS.Core.API/appsettings.US_Prod_IRC.json +++ b/IRaCIS.Core.API/appsettings.US_Prod_IRC.json @@ -66,7 +66,7 @@ "SystemEmailSendConfig": { "Port": 587, "Host": "smtp-mail.outlook.com", - "Imap": "imap.qiye.aliyun.com", + "Imap": "imap-mail.outlook.com", "FromEmail": "donotreply@elevateimaging.ai", "FromName": "LiLi System", "AuthorizationCode": "Q#669869497420ul", diff --git a/IRaCIS.Core.API/appsettings.US_Test_IRC.json b/IRaCIS.Core.API/appsettings.US_Test_IRC.json index e3c6cb14e..e5bfed0ba 100644 --- a/IRaCIS.Core.API/appsettings.US_Test_IRC.json +++ b/IRaCIS.Core.API/appsettings.US_Test_IRC.json @@ -74,7 +74,7 @@ "SystemEmailSendConfig": { "Port": 587, "Host": "smtp-mail.outlook.com", - "Imap": "imap.qiye.aliyun.com", + "Imap": "imap-mail.outlook.com", "FromEmail": "donotreply@elevateimaging.ai", "FromName": "LiLi System", "AuthorizationCode": "Q#669869497420ul", diff --git a/IRaCIS.Core.API/appsettings.US_Uat_IRC.json b/IRaCIS.Core.API/appsettings.US_Uat_IRC.json index 9d777aa21..7930718fd 100644 --- a/IRaCIS.Core.API/appsettings.US_Uat_IRC.json +++ b/IRaCIS.Core.API/appsettings.US_Uat_IRC.json @@ -73,7 +73,7 @@ "SystemEmailSendConfig": { "Port": 587, "Host": "smtp-mail.outlook.com", - "Imap": "imap.qiye.aliyun.com", + "Imap": "imap-mail.outlook.com", "FromEmail": "donotreply@elevateimaging.ai", "FromName": "LiLi System", "AuthorizationCode": "Q#669869497420ul", diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 72f9cada8..9dfc034f3 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -13882,7 +13882,7 @@ - + IR影像阅片 @@ -15286,6 +15286,13 @@ + + + 设置发送邮箱 + + + + 镜像里面打入libreoffice 的方案 @@ -15324,13 +15331,14 @@ - + oosFolderPath 不要 "/ "开头 应该: TempFolder/ChildFolder + 随机文件名 @@ -15738,7 +15746,7 @@ 10分钟检测通知IR 已通知的进行标注,下次不会再通知 - + 10分钟检测通知IR 已通知的进行标注,下次不会再通知 diff --git a/IRaCIS.Core.Application/Service/Common/MailService.cs b/IRaCIS.Core.Application/Service/Common/MailService.cs index 89336371b..cf47d58c5 100644 --- a/IRaCIS.Core.Application/Service/Common/MailService.cs +++ b/IRaCIS.Core.Application/Service/Common/MailService.cs @@ -926,7 +926,7 @@ namespace IRaCIS.Core.Application.Service //中心调研核对人员提醒 public async Task SiteSuervyCheckUser(Guid trialId, string email, string name) { - var trialInfo = await _trialRepository.Where(t => t.Id == trialId).Select(t => new { t.TrialCode, t.ResearchProgramNo }).FirstOrDefaultAsync(); + var trialInfo = await _trialRepository.Where(t => t.Id == trialId).Select(t => new { t.TrialCode, t.EmailFromName, t.ResearchProgramNo }).FirstOrDefaultAsync(); var messageToSend = new MimeMessage(); //发件地址 @@ -960,7 +960,7 @@ namespace IRaCIS.Core.Application.Service public async Task SiteSuervyUpdateUser(Guid trialSiteId, string email, string name, string url) { - var trialInfo = await _trialSiteRepository.Where(t => t.Id == trialSiteId).Select(t => new { t.Trial.TrialCode, t.Trial.ResearchProgramNo, t.TrialSiteCode, t.TrialSiteName, t.TrialSiteAliasName }).FirstOrDefaultAsync(); + var trialInfo = await _trialSiteRepository.Where(t => t.Id == trialSiteId).Select(t => new { t.Trial.TrialCode, t.Trial.EmailFromName, t.Trial.ResearchProgramNo, t.TrialSiteCode, t.TrialSiteName, t.TrialSiteAliasName }).FirstOrDefaultAsync(); var messageToSend = new MimeMessage(); //发件地址