返回绝对路径

product
xlongwei 2021-01-16 13:25:39 +08:00 committed by Gitee
parent 99390fda05
commit ca04b583a9
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public class FileUploadUtils
desc.getParentFile().mkdirs();
}
}
return desc;
return desc.isAbsolute() ? desc : desc.getAbsoluteFile();
}
private static final String getPathFileName(String fileName) throws IOException