Commit f2e0d3e2 by Administrator

Merge branch 'develop_zyq' into 'develop'

离职删除token

See merge request 8timerv2/8timerapiv200!394
parents d190c149 e78cc420
......@@ -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