Spring Security放开swagger-ui.html资源路径过滤

// 任意访问 .antMatchers("/swagger-resources/**").permitAll() .antMatchers("/webjars/**").permitAll() .antMatchers("/v2/**").permitAll() .antMatchers("/api/**").permitAll()