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