AI预警转发

This commit is contained in:
pengjie 2024-09-24 16:43:59 +08:00
parent 832fe7508b
commit 5618a4e876

View File

@ -414,6 +414,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/exam/regulation/**").permitAll()
.antMatchers("/xmgl/safetyHatData/getNewestList1").permitAll()
.antMatchers("/xmgl/safetyHatData/allList").permitAll()
.antMatchers("/xmgl/api/saveHardWareAlarm").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证.
.and()