cloud-server-other/src/main/java/com/dsh/other/util/RedisUtil.java
@@ -27,6 +27,7 @@ /** * 向redis中存储字符串没有过期时间 * Storing strings in Redis without an expiration time. * * @param key * @param value */ @@ -42,6 +43,7 @@ /** * 以分钟为单位设置存储值(设置过期时间) * Set storage value in minutes (set expiration time) as units. * * @param key * @param value * @param time 秒 @@ -57,6 +59,7 @@ /** * 从redis中获取值 * * @param key * @return */ @@ -73,6 +76,7 @@ /** * 批量获取 * * @param kes * @return */ @@ -106,6 +110,7 @@ /** * 删除key * * @param key */ public void remove(String key){ @@ -119,6 +124,7 @@ /** * 删除资源 * * @param jedis */ public void closeJedis(Jedis jedis){