JAVA Redis StringRedisTemplate 修改值但是不修改过期时间
摘要:
首先使用StringRedisTemplate存入一个String,带有过期时间: int expires_in=3600;stringRedisTemplate.opsForValue().set("test","hello",expires_in, Tim... 阅读全文
posted @ 2022-11-08 07:35
小目标青年
阅读(1171)
评论(0)
推荐(0)