From 514705c874699fb016ca405961e50dcb15af2648 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 28 十一月 2023 10:28:16 +0800
Subject: [PATCH] 栅格分析返回值添加图层单位字段

---
 src/main/resources/application.yml |   62 ++++++++++++++++++------------
 1 files changed, 37 insertions(+), 25 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index dc7d7eb..b2e4cc5 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,21 +1,25 @@
 server:
   tomcat:
     uri-encoding: UTF-8
-    max-connections: 1000
-  port: 10000
+    max-connections: 5000
+    max-http-form-post-size: 50MB
+    threads:
+      max: 2000
+  port: 9000
   servlet:
-    context-path: /server
+    context-path: /MoonServer
 
 spring:
   application:
-    name: server
+    name: MoonServer
   # redis
   redis:
-    database: 0
-    host: 192.168.20.83
+    database: 1
+    #host: 192.168.20.83
+    host: 127.0.0.1
     port: 6369
     password: rediS_5L#F4_Server
-    timeout: 90000  # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級
+    timeout: 10000  # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級
     lettuce:
       pool:
         max-active: 1000  # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級
@@ -42,11 +46,12 @@
   datasource:
     name: prod
     # JDBC 鍩烘湰閰嶇疆 &currentSchema=public
+    #url: jdbc:postgresql://127.0.0.1:5433/moon?useAffectedRows=true
     url: jdbc:postgresql://192.168.20.83:5433/moon?useAffectedRows=true
-    #url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true
-    username : postgres
-    #password: Postgres!_14_Lf
-    password: postgres
+    #url: jdbc:postgresql://103.85.165.99:25432/moon?useAffectedRows=true
+    username: postgres
+    #password: postgres
+    password: Postgres!_14_moon
     driver-class-name: org.postgresql.Driver
     platform: POSTGRESQL
     type: com.alibaba.druid.pool.DruidDataSource
@@ -66,8 +71,8 @@
       initial-size: 5
       min-idle: 5
       max-active: 100
-      ## 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂�
-      max-wait: 6000
+      ## 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂达紝ms
+      max-wait: 60000
       # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣
       time-between-eviction-runs-millis: 60000
       # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
@@ -99,11 +104,6 @@
         deny:
 
 # mybatis
-#mybatis:
-#  type-aliases-package: com.moon.server.entity
-#  config-location: classpath:mybatis.xml
-#  mapper-locations: classpath:mapper/**/*.xml
-
 mybatis-plus:
   type-aliases-package: com.moon.server.entity
   config-location: classpath:mybatis.xml
@@ -113,22 +113,32 @@
 logging:
   config: classpath:logback-spring.xml
 
-# RestTemplate config
+# restTemplate config
 remote:
   maxTotalConnect: 0
   maxConnectPerRoute: 1000
-  connectTimeout: 5000
-  readTimeout: 1800000
+  connectTimeout: 30000
+  readTimeout: -1
+
+# http://172.16.2.10:50001
+shujian:
+  ak: ak=mf72ff9295c740ec0f37e61433e8a3ad8d
+  url1: http://219.153.49.10:7511
+  url5: http://219.153.49.10:7511
+  path: share/YQData/upload/
+  domName: 鑷姩鍙戝竷褰卞儚鍥惧眰缁�
+  demName: 鑷姩鍙戝竷楂樼▼鍥惧眰缁�
 
 # 绯荤粺閰嶇疆
 sys:
+  # 绠$悊鍛業D
+  admin: admin
   # IIS鐨勪富鏈哄湴鍧�
   iisHost: 127.0.0.1
   # FME鏈嶅姟鍦板潃
-  fmeUrl: http://192.168.20.83:88/
+  fmeUrl: http://127.0.0.1:88/
   # 鍑哄浘鏈嶅姟
-  exportServer: http://127.0.0.1/ExportMap
-  #exportServer: http://192.168.20.83:80/ExportMap
+  exportServer: http://127.0.0.1/MoonExp
   # Gdal椹卞姩鐩綍
   gdal_path: E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin
   # 鐡︾墖鍦板潃
@@ -140,5 +150,7 @@
     upload: D:\Moon\upload
     # 涓存椂鐩綍
     temp: D:\Moon\temp
+    # 鍧″害鍒嗘瀽
+    slopFile: D:\Moon\dtm\dtm100m_slope_moon2000.tif
   # 涓婁紶闄勪欢琛�
-  attachTabs: bd.b_pac_hydrogeology,bs.u_sectionline
\ No newline at end of file
+  attachTabs:
\ No newline at end of file

--
Gitblit v1.9.3