From 26e1591f4320c73dc1692c1aa8e20ddfe3374ea9 Mon Sep 17 00:00:00 2001 From: yuan <1363654894@qq.com> Date: Tue, 8 Oct 2024 20:01:54 +0800 Subject: [PATCH] =?UTF-8?q?feat():=E5=A2=9E=E5=8A=A0ip=E8=BD=AE=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/muyu/common/redis/service/RedisService.java | 10 ++++++++++ cloud-common/pom.xml | 2 ++ 2 files changed, 12 insertions(+) diff --git a/cloud-common/cloud-common-redis/src/main/java/com/muyu/common/redis/service/RedisService.java b/cloud-common/cloud-common-redis/src/main/java/com/muyu/common/redis/service/RedisService.java index db90c1e..392ffe3 100644 --- a/cloud-common/cloud-common-redis/src/main/java/com/muyu/common/redis/service/RedisService.java +++ b/cloud-common/cloud-common-redis/src/main/java/com/muyu/common/redis/service/RedisService.java @@ -255,4 +255,14 @@ public class RedisService { public Collection keys (final String pattern) { return redisTemplate.keys(pattern); } + +// /** +// * 获取使用的对象的次数 +// * @param key Redis键 +// * @param hKey Hash键 +// */ +// public void getNumber (final String key, final String hKey){ +// Object o = redisTemplate.opsForHash().get(key, hKey); +// } + } diff --git a/cloud-common/pom.xml b/cloud-common/pom.xml index 79c42b6..23e81f8 100644 --- a/cloud-common/pom.xml +++ b/cloud-common/pom.xml @@ -22,6 +22,8 @@ cloud-common-rabbit cloud-common-saas cloud-common-wechat + cloud-common-cache + cloud-common-kafka cloud-common