SpringBoot中multipartResolver上传文件配置
1、gradle配置 compile ('commons-io:commons-io:1.4') compile('commons-fileupload:commons-fileupload:1.2.1')2、注册Bean @Bean(name = "multipartResolver") public MultipartResolver multipa...
原创
2018-09-26 17:40:12 ·
11398 阅读 ·
0 评论