From 1b808595b815f8f98a357fa023bf3a9f5767b978 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 18 Mar 2026 14:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=B4=E6=97=B6token?= =?UTF-8?q?=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Helper/OSSService.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/IRaCIS.Core.Application/Helper/OSSService.cs b/IRaCIS.Core.Application/Helper/OSSService.cs index fff83d2ea..166f810a6 100644 --- a/IRaCIS.Core.Application/Helper/OSSService.cs +++ b/IRaCIS.Core.Application/Helper/OSSService.cs @@ -1971,10 +1971,7 @@ public class OSSService(IOptionsMonitor options, objectStoreDTO.AWS = tempToken; } - else - { - throw new BusinessValidationFailedException("未定义的存储介质类型"); - } + return objectStoreDTO; }