会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
学习笔记
默默无闻的耕好自己的一亩二分田
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2019年8月20日
SpringMVC,SpringBoot上传文件简洁代码
摘要: @RequestMapping("/updateAvatar.html") public String updateHeadUrl(MultipartFile avatar, Model model, HttpSession session) throws IOException { // 文件类型限制 String[] allowedType = {"image/bmp", "image/gif
阅读全文
posted @ 2019-08-20 19:21 你不知道的浪漫
阅读(388)
评论(0)
推荐(0)
编辑