03 2023 档案
摘要:跨域配置完成以后,又进行拦截器的配置,发现跨域配置失效,以下是原配置 @Configuration public class CORSConfig implements WebMvcConfigurer { @Bean public WebMvcConfigurer corsConfigurer()
阅读全文
摘要:进行文件上传测试时候: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum permitted size of
阅读全文
摘要:// 拦截所有请求,通过判断token是否合法来决定是否需要登录 registry.addInterceptor(jwtInterceptor()). addPathPatterns("/**"). excludePathPatterns( "/api/sysUser/login", "/api/s
阅读全文