摘要: Redis缓存使用 1、 引入依赖(可能已经引入了):spring-boot-starter-cache 2、 在application.yml配置文件中配置spring:redis:host/port/password,连接redis库 3、 在主启动程序中加入注解:@EnableChaching 阅读全文
posted @ 2018-06-27 12:56 floatthy 阅读(132) 评论(0) 推荐(0) 编辑