springBoot本地上传照片通过localhost:+端口号访问
百度上全是复制过来会发现 WebMvcConfigurerAdapter 已经过期了,spring提供了 WebMvcConfigurer 就可以实现了代码如下package com.yzt.yztApplication.common;import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotatio...
原创
2021-09-26 10:39:15 ·
658 阅读 ·
0 评论