소스 검색

Merge branch 'V2.0.1' into test

zhaoxian 3 년 전
부모
커밋
a218deb45c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java

+ 3 - 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java

@@ -247,6 +247,9 @@ public class ShiroConfig {
         filterChainDefinitionMap.put("/external/materialCollection/*", "anon");
         filterChainDefinitionMap.put("/kuaiShouOpreate/**", "anon");
         filterChainDefinitionMap.put("/manager/company/*", "anon");
+        filterChainDefinitionMap.put("/liveData/**", "anon");
+        filterChainDefinitionMap.put("/product/material/**", "anon");
+
         // 添加自己的过滤器并且取名为jwt
         Map<String, Filter> filterMap = new HashMap<>(1);
         filterMap.put("jwt", new JwtFilter());