redis配置在spring redis,去掉data

This commit is contained in:
wanxiaoli 2025-10-28 11:13:30 +08:00
parent e6f2dc007a
commit 0116134b27

View File

@ -14,12 +14,12 @@ spring:
# url: jdbc:mysql://120.27.210.161:3306/testdb?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
# username: testdb
# password: 27CTfsyJmZRESmsa
url: jdbc:mysql://121.37.111.42:3306/filemanagedb?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
username: filemanagedb
password: GAPchydbCKYFjjAa
#url: jdbc:mysql://43.138.168.68:3306/filemanagedb?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
#username: root
#password: ylfw20230626@
# url: jdbc:mysql://121.37.111.42:3306/filemanagedb?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
# username: filemanagedb
# password: GAPchydbCKYFjjAa
url: jdbc:mysql://43.138.168.68:3306/filemanagedb?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
username: root
password: ylfw20230626@
mvc:
pathmatch:
matching-strategy: ant_path_matcher
@ -31,12 +31,11 @@ spring:
max-swallow-size: -1
connection-timeout: 86400000
max-http-form-post-size: -1
data:
redis:
host: 127.0.0.1
port: 6379
password:
database: 0
redis:
host: localhost
port: 6379
password:
database: 0
logging:
file:
path: E:/projectJava/FileManage/logs/
@ -53,6 +52,7 @@ mybatis-plus:
configuration:
default-enum-type-handler: com.yfd.platform.config.MybatisEnumTypeHandler
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 将日志输出到控制台
# 登录相关配置
login: