diff --git a/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs b/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs
index 83aa3aa1c..9bbe12288 100644
--- a/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs
+++ b/IRaCIS.Core.Application/Service/Management/SystemNoticeService.cs
@@ -100,7 +100,7 @@ namespace IRaCIS.Core.Application.Service
/// 设置已读
-
+ [HttpPut("{systemNoticeId:guid}")]
public async Task SetSystemNoticeHaveRead(Guid systemNoticeId)
{
var systemNotice = (await _systemNoticeRepository.FirstOrDefaultAsync(t => t.Id == systemNoticeId)).IfNullThrowException();
diff --git a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs
index f55a43c2b..60b8c52a6 100644
--- a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs
+++ b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs
@@ -205,6 +205,15 @@ namespace IRaCIS.Core.Application.Contracts
}
+ //[HttpGet]
+ //public async Task NoneDicomFilePreview(string relativePath)
+ //{
+ // var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).IfNullThrowException().FullName;
+
+ // var _fileStorePath = Path.Combine(rootPath, relativePath);
+
+
+ //}
///
/// 上传非Dicom 文件 支持压缩包
@@ -296,11 +305,14 @@ namespace IRaCIS.Core.Application.Contracts
private string GetStoreFileName(string fileName)
{
- var realName = fileName;
+ //var realName = fileName;
- var fileNameEX = Path.GetExtension(realName);
+ //var fileNameEX = Path.GetExtension(realName);
- var trustedFileNameForFileStorage = Guid.NewGuid().ToString() + fileNameEX;
+ //var trustedFileNameForFileStorage = Guid.NewGuid().ToString() + fileNameEX;
+
+
+ var trustedFileNameForFileStorage = Guid.NewGuid().ToString() + fileName;
return trustedFileNameForFileStorage;
}