From ac71139a166ae51467014482c7642a184886b3a2 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 09 六月 2024 00:13:30 +0800
Subject: [PATCH] 工单枚举

---
 Tiger.Api/Controllers/Base/BaseController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Api/Controllers/Base/BaseController.cs b/Tiger.Api/Controllers/Base/BaseController.cs
index 0826d82..1004fa4 100644
--- a/Tiger.Api/Controllers/Base/BaseController.cs
+++ b/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))
             {

--
Gitblit v1.9.3