From 0e81d4a731e7e8a16ff49eb50896f610bb821f6b Mon Sep 17 00:00:00 2001 From: luyao <839377654@qq.com> Date: Sun, 21 Aug 2022 22:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Redis工具类/RedisUtil.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Redis工具类/RedisUtil.java b/Redis工具类/RedisUtil.java index ec1b176..913bcbf 100644 --- a/Redis工具类/RedisUtil.java +++ b/Redis工具类/RedisUtil.java @@ -549,15 +549,4 @@ public final class RedisUtil { * @return 移除的个数 */ - public long lRemove(String key, long count, Object value) { - try { - Long remove = redisTemplate.opsForList().remove(key, count, value); - return remove; - } catch (Exception e) { - e.printStackTrace(); - return 0; - } - - } - } \ No newline at end of file