From 926681914f0bc38197236dc08c166db3b657b4d1 Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期六, 22 三月 2025 16:14:36 +0800
Subject: [PATCH] 生产环境配置

---
 src/main/resources/config/application-prod.yml |   24 +++++-------------------
 1 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/src/main/resources/config/application-prod.yml b/src/main/resources/config/application-prod.yml
index f134857..376a0f5 100644
--- a/src/main/resources/config/application-prod.yml
+++ b/src/main/resources/config/application-prod.yml
@@ -18,25 +18,11 @@
 #鏁版嵁搴�
 spring:
   datasource:
-    dynamic:
-      primary: master # 榛樿浣跨敤mater搴�
-      strict: false   # 涓嶄娇鐢ㄤ弗鏍兼ā寮�
-      datasource:
-        master:
-          type: com.alibaba.druid.pool.DruidDataSource
-#          driver-class-name: com.mysql.cj.jdbc.Driver
-#          url: jdbc:mysql://localhost:3360/db_user?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
-#          username: root
-#          password: lmx8688139
-          driver-class-name: com.highgo.jdbc.Driver
-          url: jdbc:highgo://localhost:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
-          username: sysdba
-          password: Fg001@HDW
-#        db2:
-#          type: com.alibaba.druid.pool.DruidDataSource
-#          driver-class-name: org.sqlite.JDBC
-#          url: jdbc:sqlite:E:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
-    #      url: jdbc:sqlite:\2杞欢涓嬭浇鍖匼easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: com.highgo.jdbc.Driver
+    url: jdbc:highgo://localhost:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
+    username: sysdba
+    password: Fg001@HDW
     maxIdel: 60
     initialPoolSize: 2
     minPoolSize: 5

--
Gitblit v1.9.1