Uat_Study
hang 2023-08-25 17:26:58 +08:00
parent 14bc9f4429
commit 7c5b1b6fd1
1 changed files with 2 additions and 2 deletions

View File

@ -988,7 +988,7 @@ namespace IRaCIS.Core.API.Controllers
throw new BusinessValidationFailedException("请用提供格式的模板excel上传需要处理的数据");
}
(serverFilePath, relativePath) = FileStoreHelper.GetTrialSiteSurveyFilePath(_hostEnvironment, fileName, trialId);
(serverFilePath, relativePath) = FileStoreHelper.GetOtherFileUploadPath(_hostEnvironment, StaticData.Folder.TempFile, fileName);
return serverFilePath;
});
@ -1238,7 +1238,7 @@ namespace IRaCIS.Core.API.Controllers
break;
default:
result = await SingleFileUploadAsync((fileName) => FileStoreHelper.GetOtherFileUploadPath(_hostEnvironment, StaticData.Folder.CommonFile, fileName));
result = await SingleFileUploadAsync((fileName) => FileStoreHelper.GetOtherFileUploadPath(_hostEnvironment, StaticData.Folder.TempFile, fileName));
break;
}