✨ 微信公众号服务集成
This commit is contained in:
parent
94a4d38a93
commit
f663f41270
@ -55,6 +55,7 @@ public class ShiroConfig implements EnvironmentAware {
|
|||||||
|
|
||||||
filterChainDefinitionMap.put("/api/**", "anon");
|
filterChainDefinitionMap.put("/api/**", "anon");
|
||||||
filterChainDefinitionMap.put("/ws/**", "anon");
|
filterChainDefinitionMap.put("/ws/**", "anon");
|
||||||
|
filterChainDefinitionMap.put("/wx/**", "anon");
|
||||||
filterChainDefinitionMap.put("/**", "auth");
|
filterChainDefinitionMap.put("/**", "auth");
|
||||||
//配置shiro默认登录界面地址,前后端分离中登录界面跳转应由前端路由控制,后台仅返回json数据
|
//配置shiro默认登录界面地址,前后端分离中登录界面跳转应由前端路由控制,后台仅返回json数据
|
||||||
shiroFilterFactoryBean.setLoginUrl("/login");
|
shiroFilterFactoryBean.setLoginUrl("/login");
|
||||||
|
Loading…
Reference in New Issue
Block a user