puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
cloud-server-activity/src/main/java/com/dsh/activity/util/RedisUtil.java
@@ -25,6 +25,7 @@
    /**
     * 向redis中存储字符串没有过期时间
     * Storing strings in Redis without an expiration time.
     *
     * @param key
     * @param value
     */
@@ -40,6 +41,7 @@
    /**
     * 以分钟为单位设置存储值(设置过期时间)
     * Set storage value in minutes (set expiration time) as units.
     *
     * @param key
     * @param value
     * @param time 秒
@@ -55,6 +57,7 @@
    /**
     * 从redis中获取值
     *
     * @param key
     * @return
     */
@@ -71,6 +74,7 @@
    /**
     * 批量获取
     *
     * @param kes
     * @return
     */
@@ -104,6 +108,7 @@
    /**
     * 删除key
     *
     * @param key
     */
    public void remove(String key){
@@ -117,6 +122,7 @@
    /**
     * 删除资源
     *
     * @param jedis
     */
    public void closeJedis(Jedis jedis){