From 12f91c3b999ea254fd4ac16f675e3f8e692b5a92 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 20 May 2026 09:23:46 +0800 Subject: [PATCH] =?UTF-8?q?dicom=E6=B2=A1=E6=9C=89=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=BB=99=E9=BB=98=E8=AE=A4=E5=80=BCdcm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRC.Core.SCP/Service/OSSService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRC.Core.SCP/Service/OSSService.cs b/IRC.Core.SCP/Service/OSSService.cs index df4f5cb39..19b51a8a3 100644 --- a/IRC.Core.SCP/Service/OSSService.cs +++ b/IRC.Core.SCP/Service/OSSService.cs @@ -967,7 +967,7 @@ public class OSSService(IOptionsMonitor options, uploadInfo.FileSize = fileSize; uploadInfo.Path = returnPath; uploadInfo.FileName = Path.GetFileName(localFilePath); - uploadInfo.FileType = Path.GetExtension(returnPath); + uploadInfo.FileType = Path.GetExtension(returnPath) == "" ? "dcm" : Path.GetExtension(returnPath); await _fileUploadRecordService.AddOrUpdateFileUploadRecord(uploadInfo);