601 Unstar Star 1.9K Fork 699

GVPbaomidou / kissoJava

缓存问题

Closed
soulCoke  Opened this issue

**cookie精确度只有秒,乘以1000,单位变成毫秒 **


**

** cache精确度到达毫秒, private long time = System.currentTimeMillis(); // 创建日期**

两个比较,注定不相等。

858545 and 1 1578934056 1694399 yuanliyang 1578957919 total 2 participants

Comments (1)

858545 and 1 1578934056
AND_1 2018-09-04 17:06

同碰到了这个问题,我是在创建token的时候就把time的值设成秒精度的

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/baomidou/kisso.git
git@gitee.com:baomidou/kisso.git
baomidou
kisso
kisso

Search