This commit is contained in:
2025-03-26 15:28:32 +08:00
parent 3d2ac57aca
commit 3ab5a7b38b
61 changed files with 406 additions and 33 deletions

View File

@ -145,6 +145,11 @@ public class FileUploadUtils
return desc;
}
// 公共方法,间接调用私有方法
public static String callGetPathFileName(String param1, String param2) throws IOException {
return getPathFileName(param1, param2);
}
private static final String getPathFileName(String uploadDir, String fileName) throws IOException
{
int dirLastIndex = RuoYiConfig.getProfile().length() + 1;