删除观测用日志记录
This commit is contained in:
parent
fa75c7155a
commit
0974e65c0a
@ -2,7 +2,6 @@ package com.ruoyi.common.security.core.dao;
|
|||||||
|
|
||||||
import cn.dev33.satoken.dao.SaTokenDao;
|
import cn.dev33.satoken.dao.SaTokenDao;
|
||||||
import cn.dev33.satoken.util.SaFoxUtil;
|
import cn.dev33.satoken.util.SaFoxUtil;
|
||||||
import cn.hutool.core.lang.Console;
|
|
||||||
import com.github.benmanes.caffeine.cache.Cache;
|
import com.github.benmanes.caffeine.cache.Cache;
|
||||||
import com.github.benmanes.caffeine.cache.Caffeine;
|
import com.github.benmanes.caffeine.cache.Caffeine;
|
||||||
import com.ruoyi.common.redis.utils.RedisUtils;
|
import com.ruoyi.common.redis.utils.RedisUtils;
|
||||||
@ -35,7 +34,6 @@ public class FlexSaTokenDao implements SaTokenDao {
|
|||||||
@Override
|
@Override
|
||||||
public String get(String key) {
|
public String get(String key) {
|
||||||
Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
||||||
Console.log("caffeine -> key:" + key + ",value:" + o);
|
|
||||||
return (String) o;
|
return (String) o;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,7 +97,6 @@ public class FlexSaTokenDao implements SaTokenDao {
|
|||||||
@Override
|
@Override
|
||||||
public Object getObject(String key) {
|
public Object getObject(String key) {
|
||||||
Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
||||||
Console.log("caffeine -> key:" + key + ",value:" + o);
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user