随笔分类 -  redis

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

点击右上角即可分享
微信分享提示