From 1e8a56c36a43d498aa9dbb4159dce52a0a977b70 Mon Sep 17 00:00:00 2001 From: wyw <373811525@qq.com> Date: Sat, 17 Aug 2024 14:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=89=E9=98=B2=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E4=B8=8D=E5=B8=A6=E5=9B=BE=E7=89=87=E5=92=8C=E5=8F=AA?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=E5=8E=BB=E6=8E=89=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fastbee/framework/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastbee-framework/src/main/java/com/fastbee/framework/config/SecurityConfig.java b/fastbee-framework/src/main/java/com/fastbee/framework/config/SecurityConfig.java index 66c1f2e..b644d92 100644 --- a/fastbee-framework/src/main/java/com/fastbee/framework/config/SecurityConfig.java +++ b/fastbee-framework/src/main/java/com/fastbee/framework/config/SecurityConfig.java @@ -129,7 +129,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { // dueros .antMatchers("/dueros").permitAll() //安防小板 - .antMatchers("/iot/photos").permitAll() + .antMatchers("/iot/photos","/iot/photos/**").permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated()