优化
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user