返回绝对路径

2.X
xlongwei 4 years ago committed by 疯狂的狮子li
parent bc8cf543b4
commit 5e5920c8ef

@ -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

Loading…
Cancel
Save