Commit 50a911a5 by yuquan.zhu Committed by chenzg

离职删除token

parent e76a7019
......@@ -59,6 +59,7 @@ public class RedisSessionInterceptor implements HandlerInterceptor {
QyzxEmpLogin eld = BeanUtil.toBean(session.getAttribute("ui"), QyzxEmpLogin.class);
if(redisUtil.get("BlockUser"+eld.getId())!=null){
redisUtil.del("BlockUser"+eld.getId());
session.removeAttribute("ui");
response302(response);
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