摘要: 自定义拦截器 public class MyInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse r 阅读全文
posted @ 2020-10-12 14:33 奶牛花花 阅读(175) 评论(0) 推荐(0) 编辑
摘要: #设置虚拟目录(application.properties)spring.resources.static-locations=file:e:\\upload# 单个文件的最大值 spring.servlet.multipart.max-file-size=1MB # 单次请求最大值 spring 阅读全文
posted @ 2020-10-12 14:30 奶牛花花 阅读(135) 评论(0) 推荐(0) 编辑