bug修复

This commit is contained in:
guo 2024-01-17 18:14:00 +08:00
parent da2e6ec018
commit d249340727

View File

@ -296,6 +296,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/workerInfo/countEntryAndExitNum").permitAll()
.antMatchers("/xmgl/aiAnalyseHardWareAlarmRecord/selectAiAnalyseHardWareAlarmList").permitAll()
.antMatchers("/xmgl/workerAttendance/list").permitAll()
.antMatchers("/xmgl/workerInfo/selectPersonTypeAndEduStatistics").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证
.and()