删除调试代码

parent 3c68762c
...@@ -77,7 +77,6 @@ public ApiResponse CustomExtract(int allotId) ...@@ -77,7 +77,6 @@ public ApiResponse CustomExtract(int allotId)
public IActionResult DownFile(int allotId) public IActionResult DownFile(int allotId)
{ {
var allot = _allotService.GetAllot(allotId); var allot = _allotService.GetAllot(allotId);
allot.CustomExtractPath = @"E:\code_git\performance\performance\Performance.Api\bin\Debug\netcoreapp2.2\Files\2\autoextract\绩效提取数据20201126105808609.xls";
if (allot == null || string.IsNullOrWhiteSpace(allot.CustomExtractPath) || !FileHelper.IsExistFile(allot.CustomExtractPath)) if (allot == null || string.IsNullOrWhiteSpace(allot.CustomExtractPath) || !FileHelper.IsExistFile(allot.CustomExtractPath))
{ {
return new ObjectResult(new ApiResponse(ResponseType.Fail, "文件不存在")); return new ObjectResult(new ApiResponse(ResponseType.Fail, "文件不存在"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment