From fadbf5b0691c057821582d48fef0279b00e1941c Mon Sep 17 00:00:00 2001
From: zhs <zhs18203887318@163.com>
Date: 星期四, 14 八月 2025 10:38:53 +0800
Subject: [PATCH] 0814 zhs

---
 ruoyi-admin/src/main/resources/application-druid.yml |  117 ++++++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 88 insertions(+), 29 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml
index 316c5f2..4f19050 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,29 +6,44 @@
     druid:
       # 涓诲簱鏁版嵁婧�
       master:
-        #        涔変箤浜岄櫌
+        #    涔変箤浜岄櫌
         #        url: jdbc:mysql://127.0.0.1:3306/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         #        username: root
         #        password: 123456
         #        鍏徃
         #        url: jdbc:mysql://192.168.2.9:3308/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         #        涓芥按
-        url: jdbc:mysql://127.0.0.1:3308/smartor-lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: smartor
-        password: Smartor.2023
-        driverClassName: com.mysql.cj.jdbc.Driver
+        #        url: jdbc:mysql://127.0.0.1:3308/smartor-lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        #        username: smartor
+        #        password: Smartor.2023
+        #        driverClassName: com.mysql.cj.jdbc.Driver
+        #        娌冲崡
+        #        url: jdbc:mysql://127.0.0.1:3308/smartor_hn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        #        username: root
+        #        password: 123456
+        #        driverClassName: com.mysql.cj.jdbc.Driver
         #        # 鏂板崕
         #        url: jdbc:mysql://192.168.191.181:3308/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         #        username: smartor
         #        password: Smartor.2023
         #        driverClassName: com.mysql.cj.jdbc.Driver
 
-        #  鍏徃浜�
-#        url: jdbc:mysql://116.62.18.175:6002/smartor_lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-#        username: hxsoft
-#        password: Hxerp2000
-#        driverClassName: com.mysql.cj.jdbc.Driver
+        #        #  鍏徃浜�
+        #        url: jdbc:mysql://116.62.18.175:6002/smartor_lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        #        username: hxsoft
+        #        password: Hxerp2000
+        #        driverClassName: com.mysql.cj.jdbc.Driver
+        #  鍏徃鏈湴
+        url: jdbc:mysql://192.168.100.10:3306/smartor_lishui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        username: smartor
+        password: Smartor.2023
+        driverClassName: com.mysql.cj.jdbc.Driver
 
+      #        # 楂樻柉鏁版嵁搴撻厤缃�
+      #        url: jdbc:postgresql://127.0.0.1:5432/smartorlishui
+      #        username: gaussdb
+      #        password: Ls@123456
+      #        driverClassName: org.postgresql.Driver
 
       # 浠庡簱鏁版嵁婧�
       slave:
@@ -86,6 +101,27 @@
         wall:
           config:
             multi-statement-allow: true
+  # redis 閰嶇疆
+  redis:
+    host: 127.0.0.1
+    port: 6020
+
+    # 鏁版嵁搴撶储寮�
+    database: 0
+    # 瀵嗙爜
+    password: Smartor
+    # 杩炴帴瓒呮椂鏃堕棿
+    timeout: 10s
+    lettuce:
+      pool:
+        # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺�
+        min-idle: 0
+        # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺�
+        max-idle: 8
+        # 杩炴帴姹犵殑鏈�澶ф暟鎹簱杩炴帴鏁�
+        max-active: 8
+        # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
+        max-wait: -1ms
 
 magic-api:
   web: /magic/web
@@ -102,15 +138,36 @@
     default-page: 1
     default-size: 10
 
-  #寰俊鍏紬鍙风殑瀵嗛挜
-appid: 3311000002.
-appSecret: MzMxMTAwMDAwMg==
-#绗笁鏂瑰井淇″叕浼楀彿鍙戦�佸湴鍧�锛堟柊鍗庡尰闄級
-thirdWXUrl: http://192.168.10.170:18001/frontend/medical/api
+# Swagger閰嶇疆
+swagger:
+  # 鏄惁寮�鍚痵wagger
+  enabled: true
+  # 璇锋眰鍓嶇紑
+  pathMapping: /dev-api
 
 #閽夐拤鐨勫瘑閽�
 dingAppid: dingn8iip5ubj7clrrsv
 dingAppSecret: qlEK8D3oOVwGPOTiBQIBYTqQVlAfy9S_qQizEQFjJdSScwemWFryg4gbneu-NqWD
+
+# 娌冲崡SSO閰嶇疆锛堜附姘寸敤涓嶅埌锛�
+sso:
+  enabled: true
+  client_id: "mbglxt"  # 淇¢�氶櫌鎻愪緵
+  client_secret: "mbglxt"  # 淇¢�氶櫌鎻愪緵
+  # 鍐呯綉閰嶇疆
+  internal:
+    authorize_url: "http://10.10.13.112:37727/connect/authorize"
+    token_url: "http://10.10.13.112:37727/connect/token"
+    userinfo_url: "http://10.10.13.112:37727/connect/userinfo"
+    redirect_uri: "http://10.10.13.142:8096/sso/callback"
+  # 澶栫綉閰嶇疆
+  external:
+    authorize_url: "http://172.20.111.142:37727/connect/authorize"
+    token_url: "http://172.20.111.142:37727/connect/token"
+    userinfo_url: "http://172.20.111.142:37727/connect/userinfo"
+    redirect_uri: "http://172.20.111.142:8096/sso/callback"
+  state: "smartor"  # 浣犱滑绯荤粺鏍囪瘑
+  scope: "openid roles profile"
 
 # websocket瓒呮椂鏃堕棿
 server:
@@ -157,28 +214,30 @@
 
 #鏂板崕鍖婚櫌澶栭摼璇锋眰IP鍜岀鍙e彿
 req_path: 8093
-localIP: https://wx.lihusmart.com
+#localIP: https://wx.lihusmart.com
+#涓芥按澶栭摼璇锋眰IP鍜岀鍙e彿
+localIP: http://221.12.19.26
 
 #鑾峰彇鎮h�呬俊鎭疷RL(鍗庡崜鎻愪緵)
 hosp_info_url: http://esb-core-rest.wowjoy.cn/esb/exchange
 
 # 0浠h〃璧伴粯璁ょ殑涓婁紶    1 浠g爜璧版柊鍗庡尰闄㈢殑涓婁紶
-uploadSwitch: 1
+uploadSwitch: 0
 
-##  鎸囧畾asr鍥炶皟鐨剈rl璺緞(鏈湴)
-#ASRCallBackPath: http://192.168.2.13:8095/smartor/serviceSubtask/phoneCallBackYQ
-##鎸傛柇IP(鏈湴)
-#hangup: http://192.168.2.13:8091/hangup
-##fs鎵�浣跨敤鐨勯樋閲岀殑app_key(鏈湴)
-#app_key_yq: ZurNHpaQLq6P55YS
-
-#  鎸囧畾asr鍥炶皟鐨剈rl璺緞(鏂板崕)
-ASRCallBackPath: http://192.168.101.135:8095/smartor/serviceSubtask/phoneCallBackYQ
-#鎸傛柇IP(鏂板崕)
-hangup: http://192.16.4.220:8091/hangup
-#fs鎵�浣跨敤鐨勯樋閲岀殑app_key(鏂板崕)
+#  鎸囧畾asr鍥炶皟鐨剈rl璺緞(鏈湴)
+ASRCallBackPath: http://192.168.100.10:8095/smartor/serviceSubtask/phoneCallBackYQ
+#鎸傛柇IP(鏈湴)
+hangup: http://192.168.100.6:8089/hangup
+#fs鎵�浣跨敤鐨勯樋閲岀殑app_key(鏈湴)
 app_key_yq: ZurNHpaQLq6P55YS
 
+##  鎸囧畾asr鍥炶皟鐨剈rl璺緞(鏂板崕)
+#ASRCallBackPath: http://192.168.101.135:8095/smartor/serviceSubtask/phoneCallBackYQ
+##鎸傛柇IP(鏂板崕)
+#hangup: http://192.16.4.220:8091/hangup
+##fs鎵�浣跨敤鐨勯樋閲岀殑app_key(鏂板崕)
+#app_key_yq: ZurNHpaQLq6P55YS
+
 #鏈� 鍦� 鐭俊璇锋眰鍦板潃(杩欎釜鏈嶅姟鏄垜浠嚜宸卞啓鐨�)
 #xhsmsPath: http://192.168.2.13:8092/sendSms
 #鏂板崕鐭俊璇锋眰鍦板潃(杩欎釜鏈嶅姟鏄垜浠嚜宸卞啓鐨�)

--
Gitblit v1.9.3