From 692c1a185d768a18c2007348806d775b2fbdeaa7 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期五, 23 二月 2024 09:45:19 +0800 Subject: [PATCH] 增加MQ 示例 --- springboot-vue3/src/main/resources/application.properties | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/springboot-vue3/src/main/resources/application.properties b/springboot-vue3/src/main/resources/application.properties index 92e61eb..7ec3226 100644 --- a/springboot-vue3/src/main/resources/application.properties +++ b/springboot-vue3/src/main/resources/application.properties @@ -23,7 +23,9 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 -spring.mvc.cors.enabled=true -spring.mvc.cors.allowed-origins=http://localhost:8080 -spring.mvc.cors.allowed-methods=GET,POST -spring.mvc.cors.allowed-headers=* \ No newline at end of file +spring.rabbitmq.host=localhost +spring.rabbitmq.port=5672 +spring.rabbitmq.username=guest +spring.rabbitmq.password=guest + + -- Gitblit v1.8.0