新增文件接口
This commit is contained in:
parent
bcae613e74
commit
48651c384f
@ -207,8 +207,7 @@ public class AppTools {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file.transferTo(saveFile);
|
file.transferTo(saveFile);
|
||||||
fileName = URLEncoder.encode(fileName, "UTF-8");
|
|
||||||
System.out.println("上传文件保存路径:" + saveFile.getAbsolutePath());
|
System.out.println("上传文件保存路径:" + saveFile.getAbsolutePath());
|
||||||
return path + fileName;
|
return saveFile.getAbsolutePath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user