From 0116134b27020432610cb77b3413b9f829d9e2ba Mon Sep 17 00:00:00 2001 From: wanxiaoli Date: Tue, 28 Oct 2025 11:13:30 +0800 Subject: [PATCH] =?UTF-8?q?redis=E9=85=8D=E7=BD=AE=E5=9C=A8spring=20redis?= =?UTF-8?q?=EF=BC=8C=E5=8E=BB=E6=8E=89data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- java/src/main/resources/application-dev.yml | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/java/src/main/resources/application-dev.yml b/java/src/main/resources/application-dev.yml index 47f8c25..9d46199 100644 --- a/java/src/main/resources/application-dev.yml +++ b/java/src/main/resources/application-dev.yml @@ -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: