🎨 开发数据接口跳过鉴权
This commit is contained in:
parent
af1dec0bd7
commit
9ae9c0368e
@ -34,6 +34,7 @@ public class ShiroConfig {
|
|||||||
|
|
||||||
Map<String, String> filterChainDefinitionMap = new LinkedHashMap<String, String>();
|
Map<String, String> filterChainDefinitionMap = new LinkedHashMap<String, String>();
|
||||||
filterChainDefinitionMap.put("/api/v1/console/**", "anon");
|
filterChainDefinitionMap.put("/api/v1/console/**", "anon");
|
||||||
|
filterChainDefinitionMap.put("/api/v1/open-data/**", "anon");
|
||||||
filterChainDefinitionMap.put("/**", "jwt");
|
filterChainDefinitionMap.put("/**", "jwt");
|
||||||
shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);
|
shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user