From aaf051cd586235f026b10d5184e57e98fc465007 Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期二, 21 五月 2024 08:32:38 +0800
Subject: [PATCH] 数据库连接切换瀚高数据库

---
 src/main/resources/config/application-dev.yml  |    6 ++----
 src/main/resources/config/application-prod.yml |    6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml
index 2f8af09..c616905 100644
--- a/src/main/resources/config/application-dev.yml
+++ b/src/main/resources/config/application-dev.yml
@@ -18,12 +18,10 @@
 #鏁版嵁搴�
 spring:
   datasource:
-#    type: com.alibaba.druid.pool.DruidDataSource
-    druid:
-      db-type: POSTGRE_SQL
+    type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.highgo.jdbc.Driver
 #    url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
-    url: jdbc:highgo://localhost:5866/test?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
     username: sysdba
     password: Lmx&8688139
     maxIdel: 60
diff --git a/src/main/resources/config/application-prod.yml b/src/main/resources/config/application-prod.yml
index 5a7be05..51d5fc7 100644
--- a/src/main/resources/config/application-prod.yml
+++ b/src/main/resources/config/application-prod.yml
@@ -18,11 +18,9 @@
 #鏁版嵁搴�
 spring:
   datasource:
-#    type: com.alibaba.druid.pool.DruidDataSource
-    druid:
-      db-type: POSTGRE_SQL
+    type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.highgo.jdbc.Driver
-    url: jdbc:highgo://192.168.10.82:5866/db_user?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    url: jdbc:highgo://localhost:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
     username: sysdba
     password: Lmx&8688139
     maxIdel: 60

--
Gitblit v1.9.1