From 8485affcb0d4de05059d80cb1e844d6b18291654 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Fri, 16 May 2025 14:35:49 +0800
Subject: [PATCH] 修正
---
src/main/resources/config/application-dev.yaml | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/config/application-dev.yaml b/src/main/resources/config/application-dev.yaml
index e521946..7e098c1 100644
--- a/src/main/resources/config/application-dev.yaml
+++ b/src/main/resources/config/application-dev.yaml
@@ -6,12 +6,12 @@
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://192.168.2.6:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+ url: jdbc:mysql://192.168.2.19:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
username: root
password: 2farwL3yPXfbH2AP
master:
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://192.168.2.6:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+ url: jdbc:mysql://192.168.2.19:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
username: root
password: 2farwL3yPXfbH2AP
type: com.alibaba.druid.pool.DruidDataSource
@@ -20,10 +20,15 @@
ddl-auto: none
# ddl-auto: update #自动更新
show-sql: true #日志中显示sql语句
+ properties:
+ hibernate:
+ format_sql: true
mybatis:
mapper-locations: classpath:mapper/*.xml
# type-aliases-package: com.gkhy.labRiskManage.domain.**
-
+logging:
+ level:
+ com.gkhy.labRiskManage: debug
redis:
# host: 192.168.0.52
# port: 6371
--
Gitblit v1.9.2