清明节前导表预提交

This commit is contained in:
2022-04-06 08:58:37 +08:00
parent 7dad20e6a1
commit ed2b53192b
14 changed files with 405 additions and 110 deletions
@@ -79,6 +79,8 @@ namespace IRaCIS.Core.API.Controllers
}
new FileExtensionContentTypeProvider().Mappings.TryGetValue(Path.GetExtension(filePath), out var contentType);
return File(System.IO.File.OpenRead(filePath), contentType ?? "application/octet-stream", doc.Name);
+5 -1
View File
@@ -17,6 +17,8 @@ using IRaCIS.Core.Infra.EFCore;
using System.Globalization;
using Microsoft.AspNetCore.Localization;
using Localization;
using Magicodes.ExporterAndImporter.Core.Filters;
using IRaCIS.Core.Application.MediatR.CommandAndQueries;
namespace IRaCIS.Core.API
{
@@ -125,7 +127,9 @@ namespace IRaCIS.Core.API
//Dicom影像渲染图片 跨平台
services.AddDicomSetup();
//services.AddSingleton<IImportResultFilter, ImportResultFilteTest>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.