From 4b0c2aa9183d177c1dace5a36d559387bdd44e8b Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Fri, 17 Mar 2023 10:40:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtoken=E8=BF=87=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/common/config/WebSecurityConfig.java | 1 + 1 file changed, 1 insertion(+) 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()