This commit is contained in:
xiangwbs
2017-11-05 09:18:01 +08:00
parent da16fc16b8
commit 3e8bdb04a0
46 changed files with 282 additions and 303 deletions
@@ -14,7 +14,7 @@ import java.util.Set;
/**
* 说明: 登录拦截器
* 项目名称: sbdemo
* 项目名称: boot-module-demo
* 创建时间: 2017/5/10 16:36
* 作者: xiangwb
*/
@@ -32,7 +32,7 @@ public class LoginInterceptor extends HandlerInterceptorAdapter {
if(!set.contains(servletPath) && !servletPath.contains("login")){
HttpSession session = request.getSession();
if (session.getAttribute(CommonConstant.SESSION_CURRENT_USER)!=null) {
// TODO: 2017/5/15
// TODO: 2017/10/3
return true;
}else {
// TODO: 2017/10/3