提交 5ea80c6b 编写于 作者: 小傅哥's avatar 小傅哥

fix:TimeUnit.MILLISECONDS

上级 07f0aad3
...@@ -26,7 +26,7 @@ public class BearerTokenUtils { ...@@ -26,7 +26,7 @@ public class BearerTokenUtils {
// 缓存服务 // 缓存服务
public static Cache<String, String> cache = CacheBuilder.newBuilder() public static Cache<String, String> cache = CacheBuilder.newBuilder()
.expireAfterWrite(expireMillis - (60 * 1000L), TimeUnit.SECONDS) .expireAfterWrite(expireMillis - (60 * 1000L), TimeUnit.MILLISECONDS)
.build(); .build();
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册