瀏覽代碼

druid未授权不允许访问

RuoYi 5 年之前
父節點
當前提交
5cb3430791
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java

+ 0 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java

@@ -249,7 +249,6 @@ public class ShiroConfig
         filterChainDefinitionMap.put("/ajax/**", "anon");
         filterChainDefinitionMap.put("/js/**", "anon");
         filterChainDefinitionMap.put("/ruoyi/**", "anon");
-        filterChainDefinitionMap.put("/druid/**", "anon");
         filterChainDefinitionMap.put("/captcha/captchaImage**", "anon");
         // 退出 logout地址,shiro去清除session
         filterChainDefinitionMap.put("/logout", "logout");