classic_blue 3 hónapja
szülő
commit
956b710faf

+ 7 - 1
application-webadmin/pom.xml

@@ -92,7 +92,13 @@
             <artifactId>spring-boot-starter-websocket</artifactId>
         </dependency>
 
-	</dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-amqp</artifactId>
+        </dependency>
+
+
+    </dependencies>
 
 
 

+ 6 - 1
application-webadmin/src/main/resources/application-dev.yml

@@ -3,6 +3,10 @@ spring:
     redis:
       host: localhost
       port: 6379
+    rabbitmq:
+      username: serbia
+      password: serbia
+      addresses: 127.0.0.1:5672
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource
     druid:
@@ -218,4 +222,5 @@ wx:
     config-storage:
       type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
       key-prefix: wa # Redis Key 的前缀
-      http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
+      http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
+