13693261870
2025-07-08 ea96e4fd148c14b94b939e3deaa43cb049b810ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 5000
    max-http-form-post-size: 100MB
    threads:
      max: 2000
  servlet:
    context-path: /
 
spring:
  application:
    name: se-system
  mvc:
    static-path-pattern: /static/**
  # redis
  redis:
    database: 0
    host: 127.0.0.1
    port: 6369
    password: rediS_5L#F4_Server
    # 连接超时时长(毫秒)
    timeout: 10000
    lettuce:
      pool:
        # 连接池最大连接数(使用负值表示没有限制)
        max-active: 1000
        # 连接池最大阻塞等待时间(使用负值表示没有限制)
        max-wait: -1
        # 连接池中的最大空闲连接
        max-idle: 10
        # 连接池中的最小空闲连接
        min-idle: 5
  # session
  session:
    # 20分钟
    timeout: PT20M
  # 设置上传文件大小
  servlet:
    multipart:
      enabled: true
      max-file-size: 204800MB
      max-request-size: 1048576MB
  # jackson
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
    locale: zh_CN
  thymeleaf:
    cache: false
  # datasource
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    #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
    driver-class-name: org.postgresql.Driver
    platform: POSTGRESQL
    filters: stat,wall,log4j
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    logAbandoned: true
    # 配置连接池信息
    druid:
      initial-size: 5
      min-idle: 5
      max-active: 100
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 300000
      max-pool-prepared-statement-per-connection-size: 50
      pool-prepared-statements: true
      validation-query: SELECT 1
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      filters: stat,wall
      web-stat-filter:
        enabled: true
      stat-view-servlet:
        enabled: true
        url-pattern: /druid/*
        reset-enable: false
        login-username: admin
        login-password: ad_!Druid!_min
 
mybatis-plus:
  type-aliases-package: com.terra.system.entity
  config-location: classpath:mybatis.xml
  mapper-locations: classpath:mapper/**/*.xml
 
# logging
logging:
  config: classpath:logback-spring.xml
 
# RestTemplate config
remote:
  maxTotalConnect: 0
  maxConnectPerRoute: 1000
  connectTimeout: 30000
  readTimeout: -1
 
# 系统配置
sys:
  # 启用swagger
  swaggerEnable: true
  # 自动查询
  autoQuery: 0
  # 管理员ID
  admin: ad_Lf1122_min
  # IIS的主机地址
  iisHost: 127.0.0.1
  # FME服务地址
  fmeUrl: http://192.168.11.205:88/
  # FME令牌
  fmeToken: c36e4f94-dfde-401e-9967-2c4a449f1300
  # 出图服务
  exportServer: http://127.0.0.1/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\2d\tiles
  path:
    # 下载目录
    download: D:\JHS\data\download
    # 上传目录
    upload: D:\JHS\data\upload
    # 临时目录
    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
  # 上传附件表
  attachTabs: bd.b_pac_hydrogeology,bd.b_pac_frozensoil