From 23f6c9865917c7b1d19457e17b8f4a0f83a1bc34 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:44:39 +0800 Subject: [PATCH] 0 --- se-system/src/main/resources/application-test.yml | 60 +++++++++++++++++++++++++++--------------------------------- 1 files changed, 27 insertions(+), 33 deletions(-) diff --git a/se-system/src/main/resources/application-dev.yml b/se-system/src/main/resources/application-test.yml similarity index 75% rename from se-system/src/main/resources/application-dev.yml rename to se-system/src/main/resources/application-test.yml index f0a7368..9bc4189 100644 --- a/se-system/src/main/resources/application-dev.yml +++ b/se-system/src/main/resources/application-test.yml @@ -2,32 +2,35 @@ tomcat: uri-encoding: UTF-8 max-connections: 5000 - max-http-form-post-size: 50MB + max-http-form-post-size: 100MB threads: max: 2000 - port: 12316 servlet: - context-path: /server + context-path: / spring: - application: - name: server # redis redis: database: 0 host: 127.0.0.1 port: 6369 password: rediS_5L#F4_Server - timeout: 10000 # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級 + # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級 + timeout: 10000 lettuce: pool: - max-active: 1000 # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級 - max-wait: -1 # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 - max-idle: 10 # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� - min-idle: 5 # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� + # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級 + max-active: 1000 + # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 + max-wait: -1 + # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� + max-idle: 10 + # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� + min-idle: 5 # session session: - timeout: PT20M # 20鍒嗛挓 + # 20鍒嗛挓 + timeout: PT20M # 璁剧疆涓婁紶鏂囦欢澶у皬 servlet: multipart: @@ -45,12 +48,11 @@ datasource: name: prod # JDBC 鍩烘湰閰嶇疆 ¤tSchema=public - #url: jdbc:postgresql://103.135.160.14:5433/langfang?useAffectedRows=true - url: jdbc:postgresql://192.168.11.205:5433/langfang?useAffectedRows=true - #url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true + #url: jdbc:postgresql://192.168.11.205:5433/jhs?useAffectedRows=true + url: jdbc:postgresql://127.0.0.1:5433/jhs?useAffectedRows=true username: postgres - password: Postgres!_14_Lf - #password: postgres + #password: Postgres!_14_Lf + password: postgres driver-class-name: org.postgresql.Driver platform: POSTGRESQL type: com.alibaba.druid.pool.DruidDataSource @@ -66,11 +68,11 @@ logAbandoned: true # 閰嶇疆杩炴帴姹犱俊鎭� druid: - ## 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� + # 鍒濆鍖栧ぇ灏忥紝鏈�灏忥紝鏈�澶� initial-size: 5 min-idle: 5 max-active: 100 - ## 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂达紝ms + # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂达紝ms max-wait: 60000 # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 time-between-eviction-runs-millis: 60000 @@ -95,21 +97,15 @@ # 鏄惁鍏佽娓呯┖缁熻鏁版嵁锛岄噸鏂拌绠� true:鍏佽 false:涓嶅厑璁� reset-enable: false # 閰嶇疆鐩戞帶椤甸潰璁块棶璐﹀彿瀵嗙爜 - #login-username: admin - #login-password: ad_!Druid!_min + login-username: admin + login-password: ad_!Druid!_min # 鍏佽璁块棶鐨勫湴鍧�锛屽鏋渁llow娌℃湁閰嶇疆鎴栬�呬负绌猴紝鍒欏厑璁告墍鏈夎闂� allow: # 鎷掔粷璁块棶鐨勫湴鍧�锛宒eny浼樺厛浜巃llow deny: -# mybatis -#mybatis: -# type-aliases-package: com.lf.server.entity -# config-location: classpath:mybatis.xml -# mapper-locations: classpath:mapper/**/*.xml - mybatis-plus: - type-aliases-package: com.lf.server.entity + type-aliases-package: com.terra.system.entity config-location: classpath:mybatis.xml mapper-locations: classpath:mapper/**/*.xml @@ -133,26 +129,24 @@ # IIS鐨勪富鏈哄湴鍧� iisHost: 127.0.0.1 # FME鏈嶅姟鍦板潃 - #fmeUrl: http://106.120.22.35:8051/ fmeUrl: http://192.168.11.205:88/ # FME浠ょ墝 fmeToken: c36e4f94-dfde-401e-9967-2c4a449f1300 # 鍑哄浘鏈嶅姟 exportServer: http://127.0.0.1/ExportMap - #exportServer: http://103.85.165.99:8050/ExportMap # Turf鏈嶅姟 turfServer: http://127.0.0.1/Turf # Gdal椹卞姩鐩綍 gdal_path: E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin # 鐡︾墖鍦板潃 - tile_path: E:\data\99.public\soft\LFData\2d\tiles + tile_path: E:\data\2d\tiles path: # 涓嬭浇鐩綍 - download: D:\LF\download + download: D:\JHS\data\download # 涓婁紶鐩綍 - upload: D:\LF\upload + upload: D:\JHS\data\upload # 涓存椂鐩綍 - temp: D:\LF\temp + temp: D:\JHS\data\temp cad: exePath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/Bin/MxCAD/Release/mxcadassembly.exe targetPath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/SRC/TsWeb/public/data -- Gitblit v1.9.3