From fd733f85407d4a8649a9807dcf0470eef3386434 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 25 Aug 2025 19:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 10 +++++----- .../src/main/resources/application.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml b/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml index 328f193..56b0e07 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml @@ -166,11 +166,11 @@ spring: password: root driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 - multi-datasource1: - url: jdbc:mysql://localhost:3306/heatsupply?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai - username: root - password: root - driver-class-name: com.mysql.cj.jdbc.Driver +# multi-datasource1: +# url: jdbc:mysql://localhost:3306/heatsupply?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai +# username: root +# password: root +# driver-class-name: com.mysql.cj.jdbc.Driver #redis 配置 redis: database: 0 diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/application.yml b/jeecg-module-system/jeecg-system-start/src/main/resources/application.yml index 403cb24..3060f33 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/application.yml +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/application.yml @@ -2,7 +2,7 @@ spring: application: name: jeecg-system profiles: - active: prod + active: dev mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl \ No newline at end of file