From 2a84b71920a9d242b7ea7bf1586788ae50275a57 Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 26 Mar 2025 15:17:12 +0800 Subject: [PATCH] =?UTF-8?q?build:=E5=88=87=E6=8D=A2=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B9=B6=E7=A7=BB=E9=99=A4=20RabbitMQ=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE-=20=E5=B0=86=20application.yml=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=20active=20profile=20=E4=BB=8E=20prod=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20dev=20-=20=E4=BB=8E=20application-dev.yml=20?= =?UTF-8?q?=E5=92=8C=20application-prod.yml=20=E4=B8=AD=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=20RabbitMQ=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 6 ------ src/main/resources/application-prod.yml | 6 ------ src/main/resources/application.yml | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 5f573a7..ee42e8d 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -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日志 建议生产环境关掉 否则日志爆炸 diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index c698230..bfcde6f 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -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日志 建议生产环境关掉 否则日志爆炸 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 90385b2..3d7808a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: prod \ No newline at end of file + active: dev