城市不透水面修改

This commit is contained in:
2023-04-24 14:08:00 +08:00
parent f2bf70cf2a
commit b0e7b2096d
7 changed files with 308 additions and 8 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);