From 8436adbda66025f53ff901a75af41b4528a005b2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 06 Jun 2022 14:36:56 +0800
Subject: [PATCH] 20220606

---
 src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java b/src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java
index 0fe9e94..9456823 100644
--- a/src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java
+++ b/src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java
@@ -42,7 +42,10 @@
                 .antMatchers("/swagger**/**").permitAll()
                 .antMatchers("/webjars/**").permitAll()
                 .antMatchers("/v2/**").permitAll()
-                .antMatchers("/api/common/**").permitAll()
+                .antMatchers("/api/common/login").permitAll()
+                .antMatchers("/api/common/doUpload").permitAll()
+                .antMatchers("/api/common/uploadFile").permitAll()
+                .antMatchers("/image/**").permitAll()
                 .anyRequest().authenticated()
                 .and().apply(securityConfiguereAdapter());
     }

--
Gitblit v1.9.1