From a508775d5c69e61e605c8f00fc18e70279444869 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 11 Jul 2022 21:49:04 +0800 Subject: [PATCH] add companyCode --- 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