修改git打包功能异常问题

This commit is contained in:
梁琦涛
2024-08-20 16:17:17 +08:00
parent 1ee45229b2
commit f15105d827
5 changed files with 10 additions and 1 deletions
@@ -160,6 +160,9 @@ public class ShiroRealm extends AuthorizingRealm {
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, newAuthorization);
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME);
log.debug("——————————用户在线操作,更新token保证不掉线—————————jwtTokenRefresh——————— "+ token);
}else{
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, cacheToken);
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME / 1000);
}
return true;
}