一、springboot创建步骤
二、添加redis的信息
1、pom中加入redis的jar
<!-- springboot整合 redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
2、application.yml配置redis的信息
#==========redis 配置信息===========#
redis:
host: 127.0.0.1
port: 6379
password: 123456
pool:
max-active: 8
max-wait: 1
max-idle: 8
min-idle: 0
timeout: 0
等待ing