Pre Merge pull request !339 from poplartang/N/A

This commit is contained in:
poplartang
2022-05-01 12:24:06 +00:00
committed by Gitee

View File

@ -137,7 +137,7 @@ public class FileUploadUtils
desc.getParentFile().mkdirs(); desc.getParentFile().mkdirs();
} }
} }
return desc; return new File(desc.getCanonicalPath());
} }
public static final String getPathFileName(String uploadDir, String fileName) throws IOException public static final String getPathFileName(String uploadDir, String fileName) throws IOException