From 268ec77fe7fab519a328cf924f38eb6c398464fb Mon Sep 17 00:00:00 2001 From: heminjian502 Date: Fri, 19 Aug 2022 17:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E7=94=9F=E5=BE=AE=E4=BF=A1=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/framework/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index 208cc36..e056f5b 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -114,6 +114,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter .antMatchers("/druid/**").anonymous() .antMatchers("/wechat/login/**").anonymous() .antMatchers("/api/app/hospital/list").anonymous() + .antMatchers("/common/upload").anonymous() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated() .and()