From ca5f8d839c91d61490d556e491af6d3aef4b0c1e Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 19 May 2022 16:58:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84=E5=AE=9A?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs index 805edc6dc..62f29a33a 100644 --- a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs +++ b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs @@ -211,8 +211,8 @@ namespace IRaCIS.Core.Application.Contracts public async Task NoneDicomFilePreview(string relativePath) { var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).IfNullThrowException().FullName; - - var _fileStorePath = Path.Combine(rootPath, relativePath); + + var _fileStorePath = Path.Combine(rootPath, relativePath.Replace('/', '\\')); var storePreviewPath = _fileStorePath + ".preview.jpeg";