Browse Source

登录状态失效处理

master
三只松鼠 4 years ago
parent
commit
96a309a8b3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/main/java/com/taauav/common/config/ShiroConfig.java
  2. +1
    -1
      src/main/java/com/taauav/common/interceptor/AppInterceptor.java

+ 1
- 1
src/main/java/com/taauav/common/config/ShiroConfig.java View File

@@ -75,7 +75,7 @@ public class ShiroConfig {
//前台接口权限 开放
filterChainDefinitionMap.put("/front/**", "anon");
//APP接口权限 开放
filterChainDefinitionMap.put("/app/**", "anon");
filterChainDefinitionMap.put("/app/login/**", "anon");
// 所有url都必须认证通过才可以访问
filterChainDefinitionMap.put("/**", "authc");

+ 1
- 1
src/main/java/com/taauav/common/interceptor/AppInterceptor.java View File

@@ -13,7 +13,7 @@ import java.util.List;
import java.util.Objects;

/**
* 前台登陆拦截器
* APP登陆拦截器
* @author dyg
*/
@Component

Loading…
Cancel
Save