build(cache): 集成配置 caffeine 本地缓存和 redis 远程缓存

This commit is contained in:
xiongxiaoyang
2022-05-12 11:15:37 +08:00
parent b8113b0176
commit 051fd6342e
6 changed files with 224 additions and 0 deletions

View File

@ -3,3 +3,10 @@ spring:
url: jdbc:mysql://localhost:3306/novel?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
username: root
password: test123456
profiles:
active: dev
redis:
host: 127.0.0.1
port: 6379
password: 123456