From d4f7855c0f2e4dbe088c8bdca52ce7cc9fdc74a4 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Thu, 11 Jul 2024 23:38:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=99=84=E4=BB=B6=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs b/Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs index c2ba2344..1d08397d 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs @@ -157,7 +157,7 @@ public class Ghre_CourseWareServices : BaseServices 1) CreateZip($"{webRootPath}{outPath}", files); else - outPath = files[0]; + outPath = attachments[0].RelativePath; return ServiceResult.OprateSuccess(null, outPath); } else