更新下载文件接口

Uat_Study
hang 2022-04-01 16:00:44 +08:00
parent 6a5ee88351
commit b701ce0715
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace IRaCIS.Core.API.Controllers
var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).FullName;
var filePath = Path.Combine(rootPath, doc.Path);
var filePath = Path.Combine(rootPath, doc.Path.Trim('/'));
if (!System.IO.File.Exists(filePath))
{