mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-08 10:13:46 +08:00
fix 修复 获取剩余时间单位错误
This commit is contained in:
@@ -68,7 +68,7 @@ public class PlusSaTokenDao implements SaTokenDao {
|
||||
*/
|
||||
@Override
|
||||
public long getTimeout(String key) {
|
||||
return RedisUtils.getTimeToLive(key);
|
||||
return RedisUtils.getTimeToLive(key) / 1000;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user