关于spring boot request转成MultipartHttpServletRequest 失败
在你的项目中添加一个配置类 注册CommonsMultipartResolver 解决request转成 MultipartHttpServletRequest
@Bean(name = "multipartResolver")
public MultipartResolver multipartResolver(){
CommonsMultipartResolver resolver = ...
转载
2019-09-30 10:22:39 ·
2051 阅读 ·
1 评论