This commit is contained in:
xiangwb
2018-04-23 15:50:58 +08:00
parent 55c8916df4
commit 7330a30030
3 changed files with 3 additions and 4 deletions
@@ -52,7 +52,7 @@ public class LoginInterceptor extends HandlerInterceptorAdapter {
String token = request.getHeader("token");
if (session == null) {
getOutputStream(response, "登录超时,请重新登录");
CommonDataUtil.removeData(token);
CommonDataUtil.clearData(token);
return false;
} else {
if (StringUtils.isEmpty(token)) {