From e47e795b062e68b55aa28c955a2c8407c6ed9cb5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 12 Jul 2021 16:18:20 +0800
Subject: [PATCH] fix

---
 zq-erp/src/main/resources/config/application.yml |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/zq-erp/src/main/resources/config/application.yml b/zq-erp/src/main/resources/config/application.yml
index 46087ae..0dda1a5 100644
--- a/zq-erp/src/main/resources/config/application.yml
+++ b/zq-erp/src/main/resources/config/application.yml
@@ -21,20 +21,31 @@
       strict: false
       datasource:
         master:
-          url: jdbc:mysql://120.27.238.55:3306/hive_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
-          username: ct_test
-          password: 123456
-          driver-class-name: com.mysql.jdbc.Driver
-        slave:
-          url: jdbc:mysql://47.111.134.136:3306/db_meidu8300?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
+#          url: jdbc:mysql://120.27.238.55:3306/hive_test_meidu?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
+#          username: ct_test
+#          password: 123456
+#          driver-class-name: com.mysql.jdbc.Driver
+          url: jdbc:mysql://47.111.134.136:3306/db_meidu_prd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
           username: meidu_data
           password: meidu_4321#&@
+          driver-class-name: com.mysql.jdbc.Driver
+#          url: jdbc:mysql://124.70.222.34/hive_prd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
+#          username: hive
+#          password: hive123!@#
+#          driver-class-name: com.mysql.jdbc.Driver
+        slave:
+          url: jdbc:mysql://localhost:3306/db_meidu?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
+          username: root
+          password: root
           driver-class-name: com.mysql.jdbc.Driver
       druid:
         filters: stat,slf4j
         initial-size: 5
   autoconfigure:
     exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
+  thymeleaf:
+    prefix: classpath:/templates/views/
+    cache: false
 
 useRabbit: false
 rabbitmq:

--
Gitblit v1.9.1