随笔分类 - redis
摘要:1.redis连接方法: 在安装目录执行: .\redis-cli.exe -h 127.0.0.1 -p 6379 -a 123456 2.redis启动提示错误 :(error) NOAUTH Authentication required 解决方法 > 我们使用命令:auth ‘这里是你的密码
阅读全文
摘要:import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Component; import javax.annotation.Resource; imp
阅读全文
摘要:1.数据操作Dao /** * RedisManager 操作类 * 使用SpringDataRedis进行整合 * * @author yy * @since 1.0.0, 2019年08月20日 */ @Component public class RedisManager { @Resourc
阅读全文