bug修复

This commit is contained in:
guo 2024-03-18 19:27:32 +08:00
parent 059fa27bb1
commit fb7d09cf09

View File

@ -329,6 +329,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/notice/add").permitAll()
.antMatchers("/xmgl/upload/uploadBase64").permitAll()
.antMatchers("/xmgl/massReboundSurveyArea/getMassReboundSurveyArea").permitAll()
.antMatchers("/xmgl/safetyHatData/add").permitAll()
.antMatchers("/xmgl/safetyHatDayRecord/add").permitAll()
.antMatchers("/xmgl/safetyHatAlarm/add").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证.
.and()