过滤器修改
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
... | @@ -154,11 +154,11 @@ public class ShiroConfig { | ... | @@ -154,11 +154,11 @@ public class ShiroConfig { |
154 | filterChainDefinitionMap.put("/jmeter/**", "anon"); | 154 | filterChainDefinitionMap.put("/jmeter/**", "anon"); |
155 | filterChainDefinitionMap.put("/jmReport/**", "anon"); | 155 | filterChainDefinitionMap.put("/jmReport/**", "anon"); |
156 | filterChainDefinitionMap.put("/v1/operate/**", "anon"); | 156 | filterChainDefinitionMap.put("/v1/operate/**", "anon"); |
157 | //设备导入 | ||
157 | // filterChainDefinitionMap.put("/equipment/importExcel", "anon"); | 158 | // filterChainDefinitionMap.put("/equipment/importExcel", "anon"); |
158 | // filterChainDefinitionMap.put("/v1/factoryCenter/getHourWaterData", "anon"); | 159 | // filterChainDefinitionMap.put("/v1/factoryCenter/**", "anon"); |
159 | 160 | ||
160 | filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon"); | 161 | filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon"); |
161 | // filterChainDefinitionMap.put("/v1/factoryCenter/queryMonitoringData", "anon"); | ||
162 | 162 | ||
163 | // 添加自己的过滤器并且取名为jwt | 163 | // 添加自己的过滤器并且取名为jwt |
164 | Map<String, Filter> filterMap = new HashMap<String, Filter>(1); | 164 | Map<String, Filter> filterMap = new HashMap<String, Filter>(1); | ... | ... |
... | @@ -75,7 +75,7 @@ public class MybatisInterceptor implements Interceptor { | ... | @@ -75,7 +75,7 @@ public class MybatisInterceptor implements Interceptor { |
75 | add("ajh_supplier_manage"); | 75 | add("ajh_supplier_manage"); |
76 | add("ajh_meeting_attend"); | 76 | add("ajh_meeting_attend"); |
77 | add("equipment_sparepart_supplies_allot"); | 77 | add("equipment_sparepart_supplies_allot"); |
78 | add("ajh_rectification_info"); | 78 | // add("ajh_rectification_info"); |
79 | add("alarm_rule_config_public_templete");//放行报警配置公共模板表 | 79 | add("alarm_rule_config_public_templete");//放行报警配置公共模板表 |
80 | //算法库相关表过滤权限 | 80 | //算法库相关表过滤权限 |
81 | add("sys_algorithm_database_info"); | 81 | add("sys_algorithm_database_info"); | ... | ... |
-
请 注册 或 登录 后发表评论