From 4c967fe5bdc96af202c53b63f64f6a23e9599e05 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 20 二月 2024 11:21:17 +0800
Subject: [PATCH] 修改判断

---
 ruoyi-admin/src/main/resources/application-druid.yml |   37 ++++++++++++++++++-------------------
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml
index f191214..d222f80 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,25 +6,23 @@
         druid:
             # 涓诲簱鏁版嵁婧�
             master:
-                #url: jdbc:mysql://129.88.242.37:3308/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                #username: JQ
-                #password: Jqserver88
-                #url: jdbc:mysql://47.118.79.3:3308/opozj?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                #username: JQ
-                #password: DQt1solAOB&=
-                url: jdbc:mysql://172.29.74.70:3306/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
-                username: sendo
-                password: sendohill
-                #url: jdbc:mysql://192.168.2.98:3306/opo-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
-                #username: root
-                #password: 1
+                # 鍖婚櫌鐜
+                url: jdbc:mysql://129.88.242.37:3308/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                username: JQ
+                password: Jqserver88
+
+#                # 寮�鍙戠幆澧�
+#                url: jdbc:mysql://116.62.18.175:6002/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
+#                username: opo
+#                password: opo@2022
+
             # 浠庡簱鏁版嵁婧�
             slave:
                 # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴
                 enabled: false
-                url: 
-                username: 
-                password: 
+                url:
+                username:
+                password:
             # 鍒濆杩炴帴鏁�
             initialSize: 5
             # 鏈�灏忚繛鎺ユ睜鏁伴噺
@@ -44,16 +42,17 @@
             testWhileIdle: true
             testOnBorrow: false
             testOnReturn: false
-            webStatFilter: 
+            webStatFilter:
                 enabled: true
             statViewServlet:
-                enabled: true
+                # 寮�鍏�
+                enabled: false
                 # 璁剧疆鐧藉悕鍗曪紝涓嶅~鍒欏厑璁告墍鏈夎闂�
                 allow:
                 url-pattern: /druid/*
                 # 鎺у埗鍙扮鐞嗙敤鎴峰悕鍜屽瘑鐮�
-                login-username: ruoyi
-                login-password: 123456
+                login-username: lihu
+                login-password: Lihu.7647Sa89.94
             filter:
                 stat:
                     enabled: true

--
Gitblit v1.9.3