build:切换配置文件并移除 RabbitMQ 配置- 将 application.yml 中的 active profile 从 prod 改为 dev
- 从 application-dev.yml 和 application-prod.yml 中移除 RabbitMQ 配置
This commit is contained in:
@@ -11,12 +11,6 @@ spring:
|
||||
redis:
|
||||
host: 192.168.1.103
|
||||
database: 5
|
||||
#RabbitMq配置
|
||||
rabbitmq:
|
||||
host: 192.168.1.103
|
||||
port: 5672
|
||||
username: mzaxd
|
||||
password: 200712
|
||||
|
||||
mybatis-plus:
|
||||
#打印SQL日志 建议生产环境关掉 否则日志爆炸
|
||||
|
||||
@@ -11,12 +11,6 @@ spring:
|
||||
redis:
|
||||
host: 192.168.1.103
|
||||
database: 5
|
||||
#RabbitMq配置
|
||||
rabbitmq:
|
||||
host: 192.168.1.103
|
||||
port: 5672
|
||||
username: mzaxd
|
||||
password: 200712
|
||||
|
||||
mybatis-plus:
|
||||
#打印SQL日志 建议生产环境关掉 否则日志爆炸
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
|
||||
Reference in New Issue
Block a user