集成Redis,并封装常用方法

This commit is contained in:
wangchl
2018-08-07 09:46:21 +08:00
parent db8f960b0d
commit b438c7c1ad
5 changed files with 295 additions and 19 deletions

View File

@ -100,4 +100,13 @@ gen:
# 自动去除表前缀默认是true
autoRemovePre: true
# 表前缀(类名不会包含表前缀)
tablePrefix: sys_
tablePrefix: sys_
redis:
host: 127.0.0.1
port: 6379
timeout: 20000
pool:
max-active: 8
min-idle: 0
max-idle: 8
max-wait: -1