调整
This commit is contained in:
parent
515ce249bd
commit
fa9316fcf0
@ -117,7 +117,7 @@ public class UserService {
|
||||
DefaultUserRuleEnum userDefulatRole = Objects.nonNull(defulatRole) ? DefaultUserRuleEnum.ADMIN : DefaultUserRuleEnum.USER;
|
||||
long remainingSecond = 0;
|
||||
List<AuthRole> roleList = null;
|
||||
if (Objects.nonNull(iat) && !Objects.nonNull(exp)) {
|
||||
if (Objects.nonNull(iat) && Objects.nonNull(exp)) {
|
||||
Instant iatInstant = (Instant) iat;
|
||||
Instant expInstant = (Instant) exp;
|
||||
remainingSecond = expInstant.getEpochSecond() - iatInstant.getEpochSecond();
|
||||
|
Loading…
Reference in New Issue
Block a user