فهرست منبع

添加服务模块

zhouzeyu@c-top.com.cn 3 سال پیش
والد
کامیت
634f09b6c1

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

@@ -237,6 +237,8 @@ public class ShiroConfig {
         filterChainDefinitionMap.put("/account/bytedance/report/**", "anon");
         filterChainDefinitionMap.put("/material/bytedance/report/**", "anon");
         filterChainDefinitionMap.put("/cwjsSaleAssistantInfo/**", "anon");
+        filterChainDefinitionMap.put("/overView/**", "anon");
+        filterChainDefinitionMap.put("/agent/**", "anon");
 
         // 添加自己的过滤器并且取名为jwt
         Map<String, Filter> filterMap = new HashMap<>(1);

+ 6 - 0
jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application-dev.yml

@@ -44,6 +44,12 @@ spring:
           - Path=/reportModule/**
         filters:
           - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
+      - id: jeecg-cloud-material
+        uri: lb://jeecg-cloud-material
+        predicates:
+          - Path=/material/**
+        filters:
+          - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
 # hystrix 信号量隔离,3秒后自动超时
 hystrix:
   enabled: true

+ 1 - 0
pom.xml

@@ -56,6 +56,7 @@
         <module>jeecg-cloud-module</module>
         <module>jeecg-boot-finance</module>
 		<module>jeecg-boot-report</module>
+        <module>jeecg-boot-material-view</module>
     </modules>
 
 	<distributionManagement>