build:切换配置文件并移除 RabbitMQ 配置- 将 application.yml 中的 active profile 从 prod 改为 dev

- 从 application-dev.yml 和 application-prod.yml 中移除 RabbitMQ 配置
This commit is contained in:
2025-03-26 15:17:12 +08:00
parent 4136dcc307
commit 2a84b71920
3 changed files with 1 additions and 13 deletions
-6
View File
@@ -11,12 +11,6 @@ spring:
redis: redis:
host: 192.168.1.103 host: 192.168.1.103
database: 5 database: 5
#RabbitMq配置
rabbitmq:
host: 192.168.1.103
port: 5672
username: mzaxd
password: 200712
mybatis-plus: mybatis-plus:
#打印SQL日志 建议生产环境关掉 否则日志爆炸 #打印SQL日志 建议生产环境关掉 否则日志爆炸
-6
View File
@@ -11,12 +11,6 @@ spring:
redis: redis:
host: 192.168.1.103 host: 192.168.1.103
database: 5 database: 5
#RabbitMq配置
rabbitmq:
host: 192.168.1.103
port: 5672
username: mzaxd
password: 200712
mybatis-plus: mybatis-plus:
#打印SQL日志 建议生产环境关掉 否则日志爆炸 #打印SQL日志 建议生产环境关掉 否则日志爆炸
+1 -1
View File
@@ -1,3 +1,3 @@
spring: spring:
profiles: profiles:
active: prod active: dev