From 8826565f6ac334b7a9e2953ebb208063d5f7ff50 Mon Sep 17 00:00:00 2001 From: noear Date: Wed, 18 Oct 2023 18:18:15 +0800 Subject: [PATCH] =?UTF-8?q?redisx=20=E6=A1=86=E6=9E=B6=E5=8D=87=E4=B8=BA?= =?UTF-8?q?=201.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sa-token-dependencies/pom.xml | 4 ++-- .../java/cn/dev33/satoken/dao/SaTokenDaoOfRedisBase64.java | 4 ++-- .../cn/dev33/satoken/solon/dao/SaTokenDaoOfRedisBase64.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sa-token-dependencies/pom.xml b/sa-token-dependencies/pom.xml index e9898cab..77448568 100644 --- a/sa-token-dependencies/pom.xml +++ b/sa-token-dependencies/pom.xml @@ -24,8 +24,8 @@ 6.0.0 3.0.9.RELEASE 2.5.3 - 1.4.8 - 3.2.79 + 1.6.0 + 3.2.80 4.9.17 3.14.4 2.5.0 diff --git a/sa-token-plugin/sa-token-redisx/src/main/java/cn/dev33/satoken/dao/SaTokenDaoOfRedisBase64.java b/sa-token-plugin/sa-token-redisx/src/main/java/cn/dev33/satoken/dao/SaTokenDaoOfRedisBase64.java index 410b7336..dafb2ae4 100644 --- a/sa-token-plugin/sa-token-redisx/src/main/java/cn/dev33/satoken/dao/SaTokenDaoOfRedisBase64.java +++ b/sa-token-plugin/sa-token-redisx/src/main/java/cn/dev33/satoken/dao/SaTokenDaoOfRedisBase64.java @@ -101,7 +101,7 @@ public class SaTokenDaoOfRedisBase64 implements SaTokenDao { */ @Override public Object getObject(String key) { - return redisBucket.getAndDeserialize(key); + return redisBucket.getAndDeserialize(key, Object.class); } /** @@ -156,7 +156,7 @@ public class SaTokenDaoOfRedisBase64 implements SaTokenDao { @Override public List searchData(String prefix, String keyword, int start, int size, boolean sortType) { Set keys = redisBucket.keys(prefix + "*" + keyword + "*"); - List list = new ArrayList<>(keys); + List list = new ArrayList(keys); return SaFoxUtil.searchList(list, start, size, sortType); } } \ No newline at end of file diff --git a/sa-token-starter/sa-token-solon-plugin/src/main/java/cn/dev33/satoken/solon/dao/SaTokenDaoOfRedisBase64.java b/sa-token-starter/sa-token-solon-plugin/src/main/java/cn/dev33/satoken/solon/dao/SaTokenDaoOfRedisBase64.java index 5a2f2114..2fa5771d 100644 --- a/sa-token-starter/sa-token-solon-plugin/src/main/java/cn/dev33/satoken/solon/dao/SaTokenDaoOfRedisBase64.java +++ b/sa-token-starter/sa-token-solon-plugin/src/main/java/cn/dev33/satoken/solon/dao/SaTokenDaoOfRedisBase64.java @@ -102,7 +102,7 @@ public class SaTokenDaoOfRedisBase64 implements SaTokenDao { */ @Override public Object getObject(String key) { - return redisBucket.getAndDeserialize(key); + return redisBucket.getAndDeserialize(key, Object.class); } /** @@ -157,7 +157,7 @@ public class SaTokenDaoOfRedisBase64 implements SaTokenDao { @Override public List searchData(String prefix, String keyword, int start, int size, boolean sortType) { Set keys = redisBucket.keys(prefix + "*" + keyword + "*"); - List list = new ArrayList<>(keys); + List list = new ArrayList(keys); return SaFoxUtil.searchList(list, start, size, sortType); } } \ No newline at end of file