From cf16e31632fa5c293c978d27e64dfec7b08e3335 Mon Sep 17 00:00:00 2001 From: dingzhongyuan <dingzhongyuan@kinggrid.com> Date: 星期二, 22 六月 2021 11:31:04 +0800 Subject: [PATCH] 多数据源替换成dynamic-datasource --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) 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 4822c91..79ade78 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 @@ -21,7 +21,7 @@ /** * spring security閰嶇疆 - * + * * @author ruoyi */ @EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true) @@ -32,7 +32,7 @@ */ @Autowired private UserDetailsService userDetailsService; - + /** * 璁よ瘉澶辫触澶勭悊绫� */ @@ -59,7 +59,7 @@ @Autowired private AdminServerProperties adminServerProperties; - + /** * 瑙e喅 鏃犳硶鐩存帴娉ㄥ叆 AuthenticationManager * @@ -112,7 +112,7 @@ .antMatchers("/profile/**").anonymous() .antMatchers("/common/download**").anonymous() .antMatchers("/common/download/resource**").anonymous() - .antMatchers("/swagger-ui.html").anonymous() + .antMatchers("/doc.html").anonymous() .antMatchers("/swagger-resources/**").anonymous() .antMatchers("/webjars/**").anonymous() .antMatchers("/*/api-docs").anonymous() @@ -135,7 +135,7 @@ httpSecurity.addFilterBefore(corsFilter, LogoutFilter.class); } - + /** * 寮烘暎鍒楀搱甯屽姞瀵嗗疄鐜� */ -- Gitblit v1.9.3