This commit is contained in:
yandanyang
2021-10-11 20:06:42 +08:00
parent da046ba20e
commit d0086cf68d
25 changed files with 263 additions and 1312 deletions

View File

@@ -22,9 +22,9 @@ spring.jackson.time-zone=GMT+8
spring.jackson.serialization.write-dates-as-timestamps=false
######################### database #########################
spring.datasource.url=jdbc:p6spy:mysql://115.29.150.222:11024/smart_admin_v2?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
spring.datasource.url=jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v2?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
spring.datasource.username=root
spring.datasource.password=11024Lab
spring.datasource.password=root
spring.datasource.initial-size=2
spring.datasource.min-idle=1
spring.datasource.max-active=10
@@ -40,14 +40,14 @@ spring.datasource.druid.service.scanner=net.lab1024.smartadmin.module..*Service.
######################### redis #######################################
spring.redis.database=1
spring.redis.host=115.29.150.222
spring.redis.host=127.0.0.1
spring.redis.lettuce.pool.max-active=100
spring.redis.lettuce.pool.min-idle=5
spring.redis.lettuce.pool.max-idle=10
spring.redis.lettuce.pool.max-wait=30000ms
spring.redis.port=21024
spring.redis.port=1234
spring.redis.timeout=10000ms
spring.redis.password=21024Lab
spring.redis.password=1234
######################### swagger #########################
swagger.apiGroupName=smartAdmin
@@ -87,6 +87,5 @@ access-control-allow-origin=*
heart-beat.intervalTime=300000
######################### cache config #########################
cache.maximumSize=5000
cache.expireDays=10
spring.cache.type=caffeine