Commit e78cc420 by yuquan.zhu

离职删除token

parent 4c3ddfe4
...@@ -59,6 +59,7 @@ public class RedisSessionInterceptor implements HandlerInterceptor { ...@@ -59,6 +59,7 @@ public class RedisSessionInterceptor implements HandlerInterceptor {
QyzxEmpLogin eld = BeanUtil.toBean(session.getAttribute("ui"), QyzxEmpLogin.class); QyzxEmpLogin eld = BeanUtil.toBean(session.getAttribute("ui"), QyzxEmpLogin.class);
if(redisUtil.get("BlockUser"+eld.getId())!=null){ if(redisUtil.get("BlockUser"+eld.getId())!=null){
redisUtil.del("BlockUser"+eld.getId()); redisUtil.del("BlockUser"+eld.getId());
session.removeAttribute("ui");
response302(response); response302(response);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment