From 72ff3f67bd55a169847882565fc7a5176d493cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Sun, 28 Jan 2024 23:14:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E8=A7=82=E6=B5=8B=E7=94=A8=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dromara/common/redis/manager/CaffeineCacheDecorator.java | 3 --- .../org/dromara/common/satoken/core/dao/PlusSaTokenDao.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java b/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java index 8d1f518f..7d3ab426 100644 --- a/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java +++ b/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java @@ -39,14 +39,12 @@ public class CaffeineCacheDecorator implements Cache { @Override public ValueWrapper get(Object key) { Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key)); - Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o); return (ValueWrapper) o; } @SuppressWarnings("unchecked") public T get(Object key, Class type) { Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key, type)); - Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o); return (T) o; } @@ -85,7 +83,6 @@ public class CaffeineCacheDecorator implements Cache { @Override public T get(Object key, Callable valueLoader) { Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key, valueLoader)); - Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o); return (T) o; } diff --git a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java index 2cfc927c..0664755a 100644 --- a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java +++ b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java @@ -37,7 +37,6 @@ public class PlusSaTokenDao implements SaTokenDao { @Override public String get(String key) { Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key)); - Console.log("caffeine -> key:" + key + ",value:" + o); return (String) o; } @@ -101,7 +100,6 @@ public class PlusSaTokenDao implements SaTokenDao { @Override public Object getObject(String key) { Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key)); - Console.log("caffeine -> key:" + key + ",value:" + o); return o; }