From 442600e2cb63f711418b8eb0f4ab8e2b97eb19c9 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 24 Aug 2022 18:38:19 +0800
Subject: [PATCH] fix

---
 src/main/java/com/xcong/farmer/cms/configurations/security/WebSecurityConfig.java |    3 +++
 1 files changed, 3 insertions(+), 0 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 e3de21a..6e4ae50 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
@@ -43,6 +43,7 @@
                 .authorizeRequests()
                 .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
                 .antMatchers("/login").permitAll()
+                .antMatchers("/cms/**").permitAll()
                 .antMatchers("/html").permitAll()
                 .antMatchers("/swagger**/**").permitAll()
                 .antMatchers("/webjars/**").permitAll()
@@ -52,6 +53,8 @@
                 .antMatchers("/api/common/doUpload").permitAll()
                 .antMatchers("/api/common/uploadFile").permitAll()
                 .antMatchers("/api/messageBoard/addMessage").permitAll()
+                .antMatchers("/api/article/webArticleInPage").permitAll()
+                .antMatchers("/api/column/webColumnInList").permitAll()
                 .antMatchers("/image/**").permitAll()
                 .anyRequest().authenticated()
                 .and().apply(securityConfiguereAdapter());

--
Gitblit v1.9.1