🎨 开发数据接口跳过鉴权

This commit is contained in:
ronger 2022-10-28 15:40:57 +08:00
parent af1dec0bd7
commit 9ae9c0368e

View File

@ -34,6 +34,7 @@ public class ShiroConfig {
Map<String, String> filterChainDefinitionMap = new LinkedHashMap<String, String>();
filterChainDefinitionMap.put("/api/v1/console/**", "anon");
filterChainDefinitionMap.put("/api/v1/open-data/**", "anon");
filterChainDefinitionMap.put("/**", "jwt");
shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);