数据来源统计和安全监测受攻击统计取消接口验证

dongdingding
吴顺杰 2 years ago
parent 70d879d21d
commit 2c2cdb4658

@ -121,11 +121,11 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// 打包服务器需要无token访问
// .antMatchers("/system/dict/data/type/**").anonymous()
.antMatchers("/*/api-docs").anonymous()
.antMatchers("/zongzhi/tj/*").anonymous()
.antMatchers("/zongzhi/sourceTj/*").anonymous()
.antMatchers("/*/api-docs").anonymous()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/zongzhi/tj/*").permitAll()
.antMatchers("/zongzhi/sourceTj/*").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**", "/zongzhi/**","/system/dict/data/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()

Loading…
Cancel
Save