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;//获取文件后缀