Browse Source

1、保利本地生产环境配置修改

dev_bl_eems
v-lijf43 2 weeks ago
parent
commit
168f9c4056
  1. 8
      mh-admin/src/main/resources/application-prod.yml
  2. 2
      mh-admin/src/main/resources/application.yml

8
mh-admin/src/main/resources/application-prod.yml

@ -1,13 +1,13 @@
# 项目相关配置 # 项目相关配置
mh: mh:
# 名称 # 名称
name: gh_ers name: bl_eems
# 版本 # 版本
version: 1.0.0 version: 1.0.0
# 版权年份 # 版权年份
copyrightYear: 2026 copyrightYear: 2026
# 文件路径 示例( Windows配置D:/mh/uploadPath,Linux配置 /home/mh/uploadPath) # 文件路径 示例( Windows配置D:/mh/uploadPath,Linux配置 /home/mh/uploadPath)
profile: E:/mh/uploadPath profile: D:/mh_data/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证 # 验证码类型 math 数字计算 char 字符验证
@ -84,7 +84,7 @@ spring:
port: 5672 port: 5672
username: eemcs username: eemcs
password: mh@803 password: mh@803
virtual-host: /eemcs_gh_ers virtual-host: eems_bl
listener: listener:
direct: direct:
prefetch: 2 prefetch: 2
@ -98,7 +98,7 @@ spring:
# 主库数据源 # 主库数据源
master: master:
#添加allowMultiQueries=true 在批量更新时才不会出错 #添加allowMultiQueries=true 在批量更新时才不会出错
url: jdbc:postgresql://127.0.0.1:5505/eemcs_gh_ers url: jdbc:postgresql://127.0.0.1:5232/bl_eems
# url: jdbc:postgresql://127.0.0.1:5505/eemcs # url: jdbc:postgresql://127.0.0.1:5505/eemcs
username: postgres username: postgres
password: mhtech@803 password: mhtech@803

2
mh-admin/src/main/resources/application.yml

@ -1,6 +1,6 @@
spring: spring:
profiles: profiles:
active: dev active: prod
# 用户配置 # 用户配置
user: user:

Loading…
Cancel
Save