|
@@ -85,8 +85,9 @@ public class ShiroConfig {
|
|
filterChainDefinitionMap.put("/sys/user/passwordChange", "anon");//用户更改密码
|
|
filterChainDefinitionMap.put("/sys/user/passwordChange", "anon");//用户更改密码
|
|
filterChainDefinitionMap.put("/auth/2step-code", "anon");//登录验证码
|
|
filterChainDefinitionMap.put("/auth/2step-code", "anon");//登录验证码
|
|
filterChainDefinitionMap.put("/sys/common/static/**", "anon");//图片预览 &下载文件不限制token
|
|
filterChainDefinitionMap.put("/sys/common/static/**", "anon");//图片预览 &下载文件不限制token
|
|
- //filterChainDefinitionMap.put("/sys/common/view/**", "anon");//图片预览不限制token
|
|
|
|
- //filterChainDefinitionMap.put("/sys/common/download/**", "anon");//文件下载不限制token
|
|
|
|
|
|
+ filterChainDefinitionMap.put("/sys/common/view/**", "anon");//图片预览不限制token
|
|
|
|
+ filterChainDefinitionMap.put("/sys/common/download/**", "anon");//文件下载不限制token
|
|
|
|
+ filterChainDefinitionMap.put("/sys/common/uploadFile/**", "anon");//文件预览不受限制
|
|
filterChainDefinitionMap.put("/sys/common/pdf/**", "anon");//pdf预览
|
|
filterChainDefinitionMap.put("/sys/common/pdf/**", "anon");//pdf预览
|
|
filterChainDefinitionMap.put("/generic/**", "anon");//pdf预览需要文件
|
|
filterChainDefinitionMap.put("/generic/**", "anon");//pdf预览需要文件
|
|
filterChainDefinitionMap.put("/", "anon");
|
|
filterChainDefinitionMap.put("/", "anon");
|