服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-06-09 ac71139a166ae51467014482c7642a184886b3a2
Tiger.Api/Controllers/Base/BaseController.cs
@@ -544,7 +544,7 @@
            if (file == null || file.Length == 0)
                return BadRequest("No file uploaded.");
            var path = Path.Combine(@"D:\nginx-1.26.0\html", "upload", file.FileName);
            var path = Path.Combine($@"{BizConfig.Configuration["UploadAddress"]}", "upload", file.FileName);
            using (var stream = new FileStream(path, FileMode.Create))
            {