2025-11-25 17:51:39 +08:00
|
|
|
|
spring.profiles.active=dev
|
|
|
|
|
|
|
2025-11-26 14:53:51 +08:00
|
|
|
|
server.port=9006
|
2025-11-25 17:51:39 +08:00
|
|
|
|
server.address=0.0.0.0
|
|
|
|
|
|
|
|
|
|
|
|
spring.datasource.host=localhost
|
|
|
|
|
|
spring.datasource.port=5432
|
2025-11-26 14:53:51 +08:00
|
|
|
|
spring.datasource.database=eldc1125important
|
2025-11-25 17:51:39 +08:00
|
|
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
|
|
|
spring.datasource.url=jdbc:postgresql://${spring.datasource.host}:${spring.datasource.port}/${spring.datasource.database}?useSSL=true&allowMultiQueries=true
|
|
|
|
|
|
spring.datasource.username=postgres
|
2025-11-26 14:53:51 +08:00
|
|
|
|
spring.datasource.password=123456
|
2025-11-25 17:51:39 +08:00
|
|
|
|
spring.datasource.hikari.minimum-idle=5
|
|
|
|
|
|
spring.datasource.hikari.idle-timeout=180000
|
|
|
|
|
|
spring.datasource.hikari.maximum-pool-size=30
|
|
|
|
|
|
spring.datasource.hikari.max-lifetime=1800000
|
|
|
|
|
|
spring.datasource.hikari.connection-timeout=30000
|
|
|
|
|
|
|
|
|
|
|
|
spring.redis.host=localhost
|
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
|
#spring.redis.database=0
|
|
|
|
|
|
#spring.redis.password=redis
|
|
|
|
|
|
spring.redis.timeout=3000ms
|
|
|
|
|
|
|
|
|
|
|
|
pagehelper.helper-dialect=postgresql
|
|
|
|
|
|
pagehelper.reasonable=true
|
|
|
|
|
|
pagehelper.support-methods-arguments=true
|
|
|
|
|
|
|
|
|
|
|
|
spring.jmx.enabled=false
|
|
|
|
|
|
|
|
|
|
|
|
logging.level.cn.edu.whu.boot.*.mapper=debug
|
|
|
|
|
|
|
|
|
|
|
|
mybatis.mapper-locations=classpath:mapper/**/*.xml
|
|
|
|
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
|
|
2025-11-26 14:53:51 +08:00
|
|
|
|
static.file.path=C:/tj_lydc/static
|
2025-11-25 17:51:39 +08:00
|
|
|
|
|
|
|
|
|
|
ApkFilePath=${static.file.path}/apk
|
|
|
|
|
|
photozippath=${static.file.path}/zip
|
|
|
|
|
|
spring.thymeleaf.prefix=classpath:/templates/
|
|
|
|
|
|
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,\
|
|
|
|
|
|
classpath:/public/,classpath:/templates/,file:///${ApkFilePath}
|
|
|
|
|
|
|
|
|
|
|
|
MediaPath=${static.file.path}/MediaFile
|
|
|
|
|
|
HistoryMediaPath=${static.file.path}/HistoryMediaFile
|
|
|
|
|
|
XmlFilePath=${static.file.path}/Xml
|
|
|
|
|
|
|
|
|
|
|
|
tpkx.ext=tpkx
|
|
|
|
|
|
|
|
|
|
|
|
tpk.root=${static.file.path}/tpk/
|
|
|
|
|
|
tpkx.root=${static.file.path}/tpkx/
|
|
|
|
|
|
|
|
|
|
|
|
static.url.prefix=/static
|
|
|
|
|
|
|
|
|
|
|
|
spring.servlet.multipart.max-file-size=500MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size=500MB
|
|
|
|
|
|
|
|
|
|
|
|
spring.cache.ehcache.config=classpath:config/ehcache.xml
|
|
|
|
|
|
|
|
|
|
|
|
# Session
|
|
|
|
|
|
spring.session.store-type=jdbc
|
|
|
|
|
|
spring.session.jdbc.initialize-schema=always
|
|
|
|
|
|
spring.session.timeout=1800s
|
|
|
|
|
|
|
|
|
|
|
|
# Email configuration
|
|
|
|
|
|
spring.mail.host=
|
|
|
|
|
|
spring.mail.username=
|
|
|
|
|
|
spring.mail.password=
|
|
|
|
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
|
|
|
|
spring.mail.properties.mail.smtp.port=465
|
|
|
|
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
|
|
|
|
|
spring.mail.properties.mail.smtp.starttls.required=true
|
|
|
|
|
|
spring.mail.properties.mail.smtp.ssl.enable=true
|
2025-11-26 14:53:51 +08:00
|
|
|
|
email.subject=
|
|
|
|
|
|
|
|
|
|
|
|
# GDAL/PROJ 配置
|
|
|
|
|
|
# PROJ_LIB 路径(可选,如果不设置则自动查找)
|
|
|
|
|
|
# 例如:gdal.proj.lib=E:/Java/jdk1.8.0_201/bin
|
|
|
|
|
|
# 或者:gdal.proj.lib=E:/Java/jdk1.8.0_201/bin/share/proj
|
|
|
|
|
|
gdal.proj.lib=C:/Java/gdal/bin/proj9/share
|