feat: 添加 spring-boot-redis starter.

This commit is contained in:
lijiahang
2023-06-28 16:08:08 +08:00
parent c9a4846bce
commit dc0d75a8fb
10 changed files with 213 additions and 0 deletions

View File

@@ -7,6 +7,12 @@ spring:
initial-size: 0
min-idle: 1
max-active: 5
redis:
host: 127.0.0.1
port: 6379
database: 0
password: lijiahang
timeout: 3000
mybatis-plus:
configuration:

View File

@@ -17,6 +17,12 @@ spring:
filter:
stat:
enabled: true
redis:
host: 127.0.0.1
port: 6379
database: 0
password: lijiahang
timeout: 3000
springdoc:
api-docs:

View File

@@ -60,6 +60,10 @@ spring:
wall:
config:
multi-statement-allow: true
cache:
type: REDIS
redis:
time-to-live: 1h
mybatis-plus:
configuration: