|
|
|
@ -1,11 +1,11 @@ |
|
|
|
# 项目相关配置 |
|
|
|
# 项目相关配置 |
|
|
|
mh: |
|
|
|
mh: |
|
|
|
# 名称 |
|
|
|
# 名称 |
|
|
|
name: mz |
|
|
|
name: fgd_scr |
|
|
|
# 版本 |
|
|
|
# 版本 |
|
|
|
version: 1.0.0 |
|
|
|
version: 1.0.0 |
|
|
|
# 版权年份 |
|
|
|
# 版权年份 |
|
|
|
copyrightYear: 2024 |
|
|
|
copyrightYear: 2026 |
|
|
|
# 文件路径 示例( Windows配置D:/mh/uploadPath,Linux配置 /home/mh/uploadPath) |
|
|
|
# 文件路径 示例( Windows配置D:/mh/uploadPath,Linux配置 /home/mh/uploadPath) |
|
|
|
profile: D:/mh/uploadPath |
|
|
|
profile: D:/mh/uploadPath |
|
|
|
# 获取ip地址开关 |
|
|
|
# 获取ip地址开关 |
|
|
|
@ -63,7 +63,7 @@ spring: |
|
|
|
# 端口,默认为6379 |
|
|
|
# 端口,默认为6379 |
|
|
|
port: 6379 |
|
|
|
port: 6379 |
|
|
|
# 数据库索引 |
|
|
|
# 数据库索引 |
|
|
|
database: 0 |
|
|
|
database: 2 |
|
|
|
# 密码 |
|
|
|
# 密码 |
|
|
|
password: |
|
|
|
password: |
|
|
|
# 连接超时时间 |
|
|
|
# 连接超时时间 |
|
|
|
@ -98,8 +98,7 @@ spring: |
|
|
|
# 主库数据源 |
|
|
|
# 主库数据源 |
|
|
|
master: |
|
|
|
master: |
|
|
|
#添加allowMultiQueries=true 在批量更新时才不会出错 |
|
|
|
#添加allowMultiQueries=true 在批量更新时才不会出错 |
|
|
|
url: jdbc:postgresql://127.0.0.1:5432/eemcs |
|
|
|
url: jdbc:postgresql://127.0.0.1:5432/eemcs_fgd_scr |
|
|
|
# url: jdbc:postgresql://106.55.173.225:5505/eemcs |
|
|
|
|
|
|
|
username: postgres |
|
|
|
username: postgres |
|
|
|
password: mh@803 |
|
|
|
password: mh@803 |
|
|
|
# 从库数据源 |
|
|
|
# 从库数据源 |
|
|
|
@ -200,7 +199,7 @@ mqttSpring: |
|
|
|
# port: 1883 |
|
|
|
# port: 1883 |
|
|
|
# username: sa |
|
|
|
# username: sa |
|
|
|
# password: sa123 |
|
|
|
# password: sa123 |
|
|
|
client-id: mqtt_mz_producer_dev |
|
|
|
client-id: mqtt_eemcs_fgd_scr_producer_dev |
|
|
|
# If the protocol is ws/wss, this value is required. |
|
|
|
# If the protocol is ws/wss, this value is required. |
|
|
|
path: |
|
|
|
path: |
|
|
|
# Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",". |
|
|
|
# Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",". |
|
|
|
|