会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
daizhiyou
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2021年6月16日
将MultipartFile转为File
摘要: @Componentpublic class MultipartFileToFile { public static File multipartFileToFile(MultipartFile file) throws Exception { File toFile = null; if (fil
阅读全文
posted @ 2021-06-16 10:59 daizhiyou
阅读(1056)
评论(0)
推荐(0)
编辑
图片上传至另一台服务器
摘要: @Componentpublic class FileUploadUtil { @Value("${remoteServer.url}") private String url; @Value("${remoteServer.password}") private String passWord;
阅读全文
posted @ 2021-06-16 10:57 daizhiyou
阅读(142)
评论(0)
推荐(0)
编辑