From 08f95b2f159b56fa3bd4f4b348855989de8aa456 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 18 十二月 2025 21:48:18 +0800
Subject: [PATCH] feat: vehicle

---
 ruoyi-admin/src/main/resources/application-prod.yml |  214 +++++++++++++++++++++++------------------------------
 1 files changed, 94 insertions(+), 120 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml
index 0bd32ca..cf4900c 100644
--- a/ruoyi-admin/src/main/resources/application-prod.yml
+++ b/ruoyi-admin/src/main/resources/application-prod.yml
@@ -1,40 +1,29 @@
-# 鐢熶骇鐜閰嶇疆
-server:
-  # 鏈嶅姟鍣ㄧ殑HTTP绔彛
-  port: 8080
-  servlet:
-    # 搴旂敤鐨勮闂矾寰�
-    context-path: /
-  tomcat:
-    # tomcat鐨刄RI缂栫爜
-    uri-encoding: UTF-8
-    # 杩炴帴鏁版弧鍚庣殑鎺掗槦鏁帮紝榛樿鍊�100
-    accept-count: 1000
-    threads:
-      # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
-      max: 800
-      # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�25
-      min-spare: 30
-
-# Spring閰嶇疆
+# 鏁版嵁婧愰厤缃�
 spring:
-  # 鏁版嵁婧愰厤缃�
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource
     driverClassName: com.mysql.cj.jdbc.Driver
     druid:
       # 涓诲簱鏁版嵁婧�
       master:
-        url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        url: jdbc:mysql://127.0.0.1:3306/mhyl?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: root
-        password: password
+        password: 2025@@gdmh$$
       # 浠庡簱鏁版嵁婧�
+      # SQL Server鏁版嵁婧�
+      sqlserver:
+        url: jdbc:sqlserver://39.108.160.52;databaseName=came
+        username: camesa
+        password: camesa
+        driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
+        enabled: true
+        validationQuery: SELECT 1
       slave:
         # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴
         enabled: false
-        url: 
-        username: 
-        password: 
+        url:
+        username:
+        password:
       # 鍒濆杩炴帴鏁�
       initialSize: 5
       # 鏈�灏忚繛鎺ユ睜鏁伴噺
@@ -43,6 +32,10 @@
       maxActive: 20
       # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂�
       maxWait: 60000
+      # 閰嶇疆杩炴帴瓒呮椂鏃堕棿
+      connectTimeout: 30000
+      # 閰嶇疆缃戠粶瓒呮椂鏃堕棿锛堝鍔犲埌5鍒嗛挓锛岄伩鍏嶅ぇ鏁版嵁閲忔煡璇㈣秴鏃讹級
+      socketTimeout: 300000
       # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣
       timeBetweenEvictionRunsMillis: 60000
       # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
@@ -50,114 +43,95 @@
       # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
       maxEvictableIdleTimeMillis: 900000
       # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁�
-      validationQuery: SELECT 1 FROM DUAL
+      validationQuery: SELECT 1
       testWhileIdle: true
       testOnBorrow: false
       testOnReturn: false
       webStatFilter:
-        # 寮�鍚痵tat鎷︽埅
         enabled: true
       statViewServlet:
-        # 寮�鍚痙ruid鐩戞帶
         enabled: true
-        # 璁块棶璺緞涓�/druid/*
+        # 璁剧疆鐧藉悕鍗曪紝涓嶅~鍒欏厑璁告墍鏈夎闂�
+        allow:
         url-pattern: /druid/*
-        # 鏄惁鍏佽娓呯┖缁熻鏁版嵁
-        reset-enable: false
-        # 璁剧疆璁块棶鐨勭敤鎴峰悕
-        login-username: admin
-        # 璁剧疆璁块棶鐨勫瘑鐮�
+        # 鎺у埗鍙扮鐞嗙敤鎴峰悕鍜屽瘑鐮�
+        login-username: ruoyi
         login-password: 123456
       filter:
         stat:
-          # 寮�鍚參sql璁板綍
-          slow-sql-enabled: true
-          # 鎱ql鏃堕棿
+          enabled: true
+          # 鎱QL璁板綍
           log-slow-sql: true
-          # 鍚堝苟sql
+          slow-sql-millis: 1000
           merge-sql: true
         wall:
           config:
-            # 涓嶅厑璁稿垹闄よ〃
-            drop-table-allow: false
-            # 涓嶅厑璁稿垹闄ゆ暟鎹�
-            delete-allow: false
-            # 涓嶅厑璁稿垹闄ゆ暟鎹簱
-            delete-allow: false
-            # 涓嶅厑璁稿垹闄ゆ暟鎹簱
-            drop-table-allow: false
-  # 鏂囦欢涓婁紶 閰嶇疆
-  servlet:
-    multipart:
-      # 鍗曚釜鏂囦欢澶у皬
-      max-file-size: 10MB
-      # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
-      max-request-size: 20MB
-  # 鏈嶅姟妯″潡
-  devtools:
-    restart:
-      # 鐑儴缃插紑鍏�
-      enabled: false
-
-# 瀹氭椂浠诲姟閰嶇疆
-quartz:
-  # 鏄惁鍚敤瀹氭椂浠诲姟
-  enabled: true
-  # 瀹氭椂浠诲姟绾跨▼姹犻厤缃�
-  properties:
-    org:
-      quartz:
-        threadPool:
-          threadCount: 5
-          threadPriority: 5
-          threadsInheritContextClassLoaderOfInitializingThread: true
-        jobStore:
-          class: org.quartz.simpl.RAMJobStore
-        scheduler:
-          instanceName: clusteredScheduler
-          instanceId: AUTO
-
-# MyBatis Plus閰嶇疆
-mybatis-plus:
-  # 鎼滅储鎸囧畾鍖呭埆鍚�
-  typeAliasesPackage: com.ruoyi.**.domain
-  # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
-  mapperLocations: classpath*:mapper/**/*Mapper.xml
-  # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
-  configLocation: classpath:mybatis/mybatis-config.xml
-
-# PageHelper鍒嗛〉鎻掍欢
-pagehelper:
-  pagehelper:
-    # 鍒嗛〉鍙傛暟鍚堢悊鍖�
-    reasonable: true
-    # 鏀寔閫氳繃Mapper鎺ュ彛鍙傛暟鏉ヤ紶閫掑垎椤靛弬鏁�
-    supportMethodsArguments: true
-    # 鍒嗛〉鎻掍欢浼氳嚜鍔ㄦ娴嬪綋鍓嶇殑鏁版嵁搴撻摼鎺�
-    helperDialect: mysql
-
-# Swagger閰嶇疆
-swagger:
-  # 鏄惁寮�鍚痵wagger
-  enabled: false
-  # 璇锋眰鍓嶇紑
-  pathMapping: /
-
-# 闃叉XSS鏀诲嚮
-xss:
-  # 杩囨护寮�鍏�
-  enabled: true
-  # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛�
-  excludes: /system/notice
-  # 鍖归厤閾炬帴
-  urlPatterns: /system/*,/monitor/*,/tool/*
-
-# 鏃ュ織閰嶇疆
-logging:
-  level:
-    com.ruoyi: info
-    org.springframework: warn
-
-# 绗笁鏂规帴鍙i厤缃�
+            multi-statement-allow: true
+  # 瀹氭椂浠诲姟閰嶇疆
+  quartz:
+    # 鏄惁鍚敤瀹氭椂浠诲姟
+    enabled: false
+    # 瀹氭椂浠诲姟绾跨▼姹犻厤缃�
+    properties:
+      org:
+        quartz:
+          threadPool:
+            threadCount: 5
+            threadPriority: 5
+            threadsInheritContextClassLoaderOfInitializingThread: true
+          jobStore:
+            class: org.quartz.simpl.RAMJobStore
+          scheduler:
+            instanceName: clusteredScheduler
+            instanceId: AUTO
+# 姘戣埅鎺ュ彛鍦板潃
 min:
-  apiUrl: http://localhost:8080 
\ No newline at end of file
+  apiUrl: https://api.966120.com.cn/v1/   #娴嬭瘯鐜锛歭ocalhost:8011
+qrcode:
+  defaultUrl: https://gzgj.966120.com.cn/evaluation?vehicle={vehicleNo}
+
+
+
+# 寰俊閰嶇疆
+evaluationWechat:
+  appId: wx70f6a7346ee842c0
+  appSecret: 2d6c59de85e876b7eadebeba62e5417a
+  redirectUri: http://gzgj.966120.com.cn/evaluation
+# 璋冨害鐢ㄧ殑weixin閰嶇疆
+transferConfigWeixin:
+  appId: wx40692cc44953a8cb
+  appSecret: 9638b7d8bb988e4daaac7ac35457f296
+# 鑵捐鍦板浘閰嶇疆
+tencent:
+  map:
+    key: 6YVBZ-ZJDLQ-JMY5F-BR7XG-H3TAV-C3FXC
+baidu:
+  map:
+    ak: GX7G1RmAbTEQHor9NKpzRiB2jerqaY1E
+# 鏃х郴缁熼厤缃�
+# 鏃х郴缁熼厤缃�
+legacy:
+  system:
+    # 鏃х郴缁熷熀纭�URL (蹇呴』閰嶇疆)
+    # 绀轰緥: http://192.168.1.100:8080 鎴� http://legacy.yourdomain.com
+    base-url: https://sys.966120.com.cn
+    # 鏂囦欢涓婁紶URL
+    fileUploadUrl: https://sys.966120.com.cn/weixin/upload_file.php
+    # 鏂囦欢涓嬭浇URL
+    fileServerUrl: https://sys.966120.com.cn
+
+    # 鎬ユ晳杞繍鍒涘缓鎺ュ彛璺緞 (鍙�夛紝榛樿鍊煎涓�)
+    emergency-create-path: /admin_save_19.gds
+
+    # HTTP杩炴帴瓒呮椂鏃堕棿(姣) (鍙�夛紝榛樿30绉�)
+    connect-timeout: 30000
+
+    # HTTP璇诲彇瓒呮椂鏃堕棿(姣) (鍙�夛紝榛樿30绉�)
+    read-timeout: 30000
+
+    # 鏄惁鍚敤鍚屾鍔熻兘 (鍙�夛紝榛樿true)
+    # true: 鍚敤鍚屾  false: 绂佺敤鍚屾
+    enabled: true
+
+    # 瀛楃缂栫爜 (鍙�夛紝榛樿UTF-8)
+    charset: UTF-8

--
Gitblit v1.9.1