QGIS地震专题图产出
This commit is contained in:
@@ -7,6 +7,7 @@ spring:
|
||||
config:
|
||||
import: classpath:config/database/application-database-dev.yml
|
||||
|
||||
|
||||
# redis
|
||||
data:
|
||||
redis:
|
||||
@@ -15,7 +16,31 @@ spring:
|
||||
password: zhangsan
|
||||
database: 0
|
||||
connect-timeout: 3000ms
|
||||
|
||||
# rabbitmq 配置
|
||||
rabbitmq:
|
||||
host: localhost
|
||||
port: 5672
|
||||
# username: xiaodemo
|
||||
# password: 1234
|
||||
username: zzw
|
||||
password: zzw0401
|
||||
#虚拟host 可以不设置,使用server默认host
|
||||
# virtual-host: /xiaodemos
|
||||
#消息确认配置项
|
||||
publisher-returns: true #确认消息已发送到队列(Queue)
|
||||
publisher-confirm-type: correlated
|
||||
listener: # 手动确认消息配置
|
||||
simple:
|
||||
acknowledge-mode: manual # 全局开启消费者手动确认
|
||||
# 优化配置
|
||||
concurrency: 1 # 最小消费者数
|
||||
max-concurrency: 5 # 最大消费者数
|
||||
prefetch: 1 # 每次从队列取1条消息,处理完再取(避免消息堆积)
|
||||
retry:
|
||||
enabled: true # 开启消费者重试(建议结合业务幂等性使用)
|
||||
max-attempts: 3 # 最大重试次数
|
||||
initial-interval: 1000ms # 第一次重试间隔
|
||||
multiplier: 2 # 重试间隔倍数(第二次2s,第三次4s)
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
@@ -43,15 +68,17 @@ safety:
|
||||
- /druid
|
||||
- /websocket/info
|
||||
- /websocket/**
|
||||
- /open/**
|
||||
# 请求无需解密的路径
|
||||
no-decrypt-paths:
|
||||
- /crypto/sm2/public-key
|
||||
- /druid
|
||||
- /websocket/info
|
||||
- /websocket/**
|
||||
- /open/**
|
||||
|
||||
# 算法服务器配置
|
||||
algorithm:
|
||||
server:
|
||||
# 开发环境算法服务器地址
|
||||
url: http://localhost:8082
|
||||
url: http://localhost:8082
|
||||
|
||||
@@ -15,6 +15,31 @@ spring:
|
||||
password: XAYJ@gis2603
|
||||
database: 0
|
||||
connect-timeout: 3000ms
|
||||
# rabbitmq 配置
|
||||
rabbitmq:
|
||||
host: localhost
|
||||
port: 5672
|
||||
# username: xiaodemo
|
||||
# password: 1234
|
||||
username: zzw
|
||||
password: zzw0401
|
||||
#虚拟host 可以不设置,使用server默认host
|
||||
# virtual-host: /xiaodemos
|
||||
#消息确认配置项
|
||||
publisher-returns: true #确认消息已发送到队列(Queue)
|
||||
publisher-confirm-type: correlated
|
||||
listener: # 手动确认消息配置
|
||||
simple:
|
||||
acknowledge-mode: manual # 全局开启消费者手动确认
|
||||
# 优化配置
|
||||
concurrency: 1 # 最小消费者数
|
||||
max-concurrency: 5 # 最大消费者数
|
||||
prefetch: 1 # 每次从队列取1条消息,处理完再取(避免消息堆积)
|
||||
retry:
|
||||
enabled: true # 开启消费者重试(建议结合业务幂等性使用)
|
||||
max-attempts: 3 # 最大重试次数
|
||||
initial-interval: 1000ms # 第一次重试间隔
|
||||
multiplier: 2 # 重试间隔倍数(第二次2s,第三次4s)
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
@@ -51,4 +76,4 @@ safety:
|
||||
algorithm:
|
||||
server:
|
||||
# 生产环境算法服务器地址
|
||||
url: http://localhost:8081
|
||||
url: http://localhost:8081
|
||||
|
||||
@@ -5,9 +5,11 @@ spring:
|
||||
config:
|
||||
import: classpath:config/redis/redis-key.yml
|
||||
|
||||
# MyBatis 配置
|
||||
mybatis:
|
||||
#mybatis-plus 配置
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
type-aliases-package: com.gis.basic_template_not_login_back.entity
|
||||
type-aliases-package: com.gis.xian.entity
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
map-underscore-to-camel-case: true
|
||||
# 添加 TypeHandler 扫描包路径
|
||||
type-handlers-package: com.gis.xian.handler
|
||||
|
||||
@@ -35,4 +35,10 @@ spring:
|
||||
url: jdbc:postgresql://47.92.216.173:7654/assess_disaster?characterEncoding=utf8&TimeZone=Asia/Shanghai
|
||||
username: postgres
|
||||
password: zhangsan
|
||||
driver-class-name: org.postgresql.Driver
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
slave1:
|
||||
url: jdbc:postgresql://localhost:5432/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true
|
||||
username: postgres
|
||||
password: Zzw.0401
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
@@ -32,4 +32,10 @@ spring:
|
||||
url: jdbc:postgresql://10.22.245.138:54321/xianDCAccess?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
username: zaihailian
|
||||
password: XAYJ@gis2603
|
||||
driver-class-name: org.postgresql.Driver
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
slave1:
|
||||
url: jdbc:postgresql://localhost:5432/yjzyk_xian?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&postgis=true
|
||||
username: postgres
|
||||
password: Zzw.0401
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
Reference in New Issue
Block a user