spring-boot使用tools-redis实现分布式缓存
1.在pom中配置 <dependency> <groupId>cn.gjing</groupId> <artifactId>tools-redis</artifactId> <version>1.0.0</version> </dependency> 2.在application.properties配置 #redis数据库链接配置 spring.redis.host=127.0.0.1 spring.redis.port=6379 spring.redis.password= spring.redis.database=0 3.在DemoApplic
