|
|
|
@ -51,7 +51,7 @@ public class FactoryAuthServiceImpl implements IFactoryAuthService {
|
|
|
|
|
String tokenAbst = MD5Utils.md5Hex(token.getBytes(StandardCharsets.UTF_8)); |
|
|
|
|
//过期时间生成
|
|
|
|
|
LocalDateTime start = LocalDateTime.now(); |
|
|
|
|
LocalDateTime end = start.plusMinutes(30); |
|
|
|
|
LocalDateTime end = start.plusMinutes(60*24*30); |
|
|
|
|
Date date = Date.from( end.atZone( ZoneId.systemDefault()).toInstant()); |
|
|
|
|
|
|
|
|
|
//查询是否有当前账户的token数据
|
|
|
|
|