国家查询优化

This commit is contained in:
2022-11-10 15:24:08 +08:00
parent 7d7c0dafd1
commit 448aa856e9
9 changed files with 81 additions and 44 deletions

View File

@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/*/api-docs").anonymous()
.antMatchers("/druid/**").anonymous()
// // 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
//.anyRequest().authenticated()
.and()
.headers().frameOptions().disable();
httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler);