diff --git a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java index 3c161c8..c4b8856 100644 --- a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java +++ b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java @@ -31,6 +31,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter { .authorizeRequests() // 所有OPTIONS请求都放行 .antMatchers(HttpMethod.OPTIONS).permitAll() + .antMatchers("/push/**").permitAll() .antMatchers("/insertFirePoint").permitAll() .antMatchers("/insertFirePointChannelPrecise").permitAll() .antMatchers("/queryFirePointBroadcast").permitAll()