服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-11-15 13a7f8048913b6fc20be5c90fe1ce1e7ab8c1d78
Tiger.Controllers.System/Controllers/Base/BaseController.cs
@@ -569,8 +569,8 @@
            {
                await file.CopyToAsync(stream);
            }
            return Ok(new { file.FileName, file.ContentType, file.Length, url= $@"{BizConfig.Configuration["DownloadAddress"]}/"+ file.FileName });
            var downloadAddress = entityName == "BAS_LABEL_TEMP" || entityName == "BAS_LABEL_VAR" ? "/Template" : "";
            return Ok(new { file.FileName, file.ContentType, file.Length, url= $@"{BizConfig.Configuration["DownloadAddress"]}{downloadAddress}/"+ file.FileName });
        }
        #endregion