优化调整
This commit is contained in:
@@ -119,9 +119,9 @@ public class SecurityConfig
|
||||
.antMatchers("/agv/api/**").permitAll()
|
||||
.antMatchers("/device/api/**").permitAll()
|
||||
.antMatchers("/wcs2Wms/api/**").permitAll()
|
||||
.antMatchers("/largeScreen/monitor/**").permitAll()
|
||||
.antMatchers("/largeScreen/monitor/**").permitAll();
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
.anyRequest().authenticated();
|
||||
// .anyRequest().authenticated();
|
||||
})
|
||||
// 添加Logout filter
|
||||
.logout(logout -> logout.logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler))
|
||||
|
||||
Reference in New Issue
Block a user