mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-08 21:37:42 +00:00
返回绝对路径
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user