摘要: 在java的 spring boot项目中使用Redis做缓存。 操作是 1.首先在POM文件中加入redis依赖, 2.在application.yml中添加redis的路径、端口和密码 spring: redis: host: xxx.xxx.xxx.xxx port: xxxxx passwo 阅读全文
posted @ 2019-06-24 09:07 TJGKK 阅读(364) 评论(0) 推荐(0) 编辑