!38 返回绝对路径

Merge pull request !38 from xlongwei/N/A
pull/38/MERGE
若依 4 years ago committed by Gitee
commit a8c7b9102b

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

Loading…
Cancel
Save