mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-09-18 19:52:39 +00:00
返回绝对路径
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user