feat: 添加 spring-boot-redis starter.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -60,6 +60,10 @@ spring:
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
cache:
|
||||
type: REDIS
|
||||
redis:
|
||||
time-to-live: 1h
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
|
||||
Reference in New Issue
Block a user