服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-06-21 6922ceb192bfcb15f840409bb5f0707d3ee448e9
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))
            {