MySQL支持, 其他优化

This commit is contained in:
QAIU
2025-02-06 16:52:06 +08:00
parent e85215fca1
commit 5052fea9ef
14 changed files with 465 additions and 62 deletions

View File

@@ -35,9 +35,8 @@ custom:
# 数据源配置
dataSource:
provider_class: io.vertx.ext.jdbc.spi.impl.HikariCPDataSourceProvider
jdbcUrl: jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
driverClassName: org.h2.Driver
#jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
jdbcUrl: jdbc:h2:file:./db/nfdData111;MODE=MySQL;DATABASE_TO_UPPER=FALSE
username: root
password: '123456'
@@ -49,17 +48,17 @@ cache:
defaultDuration: 59
# 具体网盘的缓存配置如果不加配置则不缓存每次请求都会请求网盘API格式网盘标识: 时长
duration:
ce:
ce: 5
cow:
ec:
ec: 5
fc:
fj:
fj: 20
iz: 20
le: 2879
lz: 20
qq: 9999999
ws:
ye:
ws: 10
ye: -1
mne: 30
mqq: 30
mkg: 30