Browse Source

白名单接口不用校验身份

changchun
zhouhaibin 4 weeks ago
parent
commit
14afce5a73
  1. 2
      easy-sys/src/main/java/com/easy/admin/config/shiro/config/ShiroConfig.java

2
easy-sys/src/main/java/com/easy/admin/config/shiro/config/ShiroConfig.java

@ -72,7 +72,7 @@ public class ShiroConfig {
*/
// 检查会话
filterChainDefinitionMap.put("/api/auth/**", "checkSession");
filterChainDefinitionMap.put("/huzhouUploadfileinfo/downloadfile", "anon");
shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);
return shiroFilterFactoryBean;
}

Loading…
Cancel
Save