From 9462b8fa5428d802f66877c089fd252415686f58 Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 3 Aug 2020 10:39:40 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=B8=8D=E6=8B=A6=E6=88=AA=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=96=B9=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/rymcu/vertical/config/ShiroConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/rymcu/vertical/config/ShiroConfig.java b/src/main/java/com/rymcu/vertical/config/ShiroConfig.java index 9fda51a..25b48ce 100644 --- a/src/main/java/com/rymcu/vertical/config/ShiroConfig.java +++ b/src/main/java/com/rymcu/vertical/config/ShiroConfig.java @@ -55,6 +55,7 @@ public class ShiroConfig implements EnvironmentAware { filterChainDefinitionMap.put("/api/**", "anon"); filterChainDefinitionMap.put("/ws/**", "anon"); + filterChainDefinitionMap.put("/wx/**", "anon"); filterChainDefinitionMap.put("/**", "auth"); //配置shiro默认登录界面地址,前后端分离中登录界面跳转应由前端路由控制,后台仅返回json数据 shiroFilterFactoryBean.setLoginUrl("/login");