mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
修改shiro配置,对/user/*的请求不继续登录验证拦截
--ShiroConfig.java
This commit is contained in:
parent
224d59d50d
commit
61809aced1
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ public class ShiroConfig {
|
|||
filterMap.put("/captcha", "anon");
|
||||
filterMap.put("/favicon.ico", "anon");
|
||||
filterMap.put("/mobile/**", "anon");
|
||||
filterMap.put("/user/**", "anon");
|
||||
filterMap.put("/**", "oauth2");
|
||||
shiroFilter.setFilterChainDefinitionMap(filterMap);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue