提交 11e25633 编写于 作者: Tyl666's avatar Tyl666

[UAACoreService]还原代码

上级 847cd493
......@@ -345,7 +345,7 @@ public class UAACoreService {
}
public boolean isExpired(Token tok,Long expiration){
if (System.currentTimeMillis() - tok.getDate().getTime() >= (120000)) {
if (System.currentTimeMillis() - tok.getDate().getTime() >= (expiration/4)) {
return true;
}
return false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册