bug修复

This commit is contained in:
guo 2024-04-04 21:14:56 +08:00
parent 56b19822b3
commit 3a6d1fdfe0

View File

@ -346,6 +346,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/exteriorScaffoldingMonitorType/selectMonitorTypeAlarmCountList").permitAll()
.antMatchers("/xmgl/exteriorScaffoldingMonitorType/page").permitAll()
.antMatchers("/xmgl/exteriorScaffoldingMonitorType/selectMonitorTypeCount").permitAll()
.antMatchers("/xmgl/hikvision/eventCallback").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证.
.and()