From 834a0397bf3bbab9bda577273222172f762a6af0 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 07 十月 2024 23:00:05 +0800
Subject: [PATCH] 上线配置

---
 src/main/resources/application-prod.yml |   13 +++++++------
 libs/DmJdbcDriver18.jar                 |    0 
 pom.xml                                 |   10 ++++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/libs/DmJdbcDriver18.jar b/libs/DmJdbcDriver18.jar
new file mode 100644
index 0000000..7a08f47
--- /dev/null
+++ b/libs/DmJdbcDriver18.jar
Binary files differ
diff --git a/pom.xml b/pom.xml
index e34a11a..850464a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,16 @@
 
 
     <dependencies>
+
+        <!-- 娣诲姞鏁版嵁搴撻┍鍔ㄥ畨瑁呭寘(杈炬ⅵ) -->
+        <dependency>
+            <groupId>dm.jdbc</groupId>
+            <artifactId>DmJdbcDriver18</artifactId>
+            <version>1.8</version>
+            <scope>system</scope>
+            <systemPath>${project.basedir}/libs/DmJdbcDriver18.jar</systemPath>
+        </dependency>
+
         <!-- caffeine -->
         <dependency>
             <groupId>com.github.ben-manes.caffeine</groupId>
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index bd2a33c..5669974 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -7,14 +7,15 @@
 
 spring:
   config:
-    url: http://42.193.1.25:8000
+    url: http://25.30.6.246:8000
   datasource:
-    url: jdbc:mysql://42.193.1.25:3306/xzs?useSSL=true&useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&allowMultiQueries=true
-    username: root
-    password: 321$YcYl@1970!
-    driver-class-name: com.mysql.cj.jdbc.Driver
+    driver-class-name: dm.jdbc.driver.DmDriver
+    #    url: jdbc:dm://127.0.0.1:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    url: jdbc:dm://25.30.6.246:5236/jxkg?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    username: SYSDBA
+    password: SYSDBA
   rabbitmq:
-    host: 101.35.247.188
+    host: 25.30.6.246
     username: ycl
     password: ycl@2024
     virtual-host: jxkg

--
Gitblit v1.8.0