From 7b9399a04747d3f16934132e127d7571cd751f89 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Wed, 21 May 2025 10:50:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs b/Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs index a79a4b05..889d7b17 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs @@ -32,7 +32,7 @@ public class Ghre_AttachmentServices : BaseServices.OprateSuccess("", null); } - public static async Task FileMerge(string lastModified, string fileExts, long NewfileName) + public static async Task FileMerge(string lastModified, string fileExts, long NewfileName, string masterId) { string erro = ""; bool ok = false; try { - string wwwroot = $"{Directory.GetCurrentDirectory()}/wwwroot/files/upload/"; + string wwwroot = $"{Directory.GetCurrentDirectory()}/wwwroot/files/upload/{masterId}/"; var temporary = Path.Combine(wwwroot, lastModified);//临时文件夹 //fileName = Request.Form["fileName"];//文件名 string fileExt = fileExts;//获取文件后缀