From c3fb56bd3cc141875b3ff2a6b893e9cbca0d11a9 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 01 Nov 2023 17:15:38 +0800
Subject: [PATCH] 用户收益列表

---
 src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java b/src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java
index 91d5fb6..0822743 100644
--- a/src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java
+++ b/src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java
@@ -65,4 +65,21 @@
     }
     // === 自动发送  end ===
 
+    // === 自动发送  start ===
+    @Bean
+    public DirectExchange imOverdueSendExchange() {
+        return new DirectExchange(RabbitQueueEnum.IM_REDBAG_OVERDUE.getExchange());
+    }
+
+    @Bean
+    public Queue imOverdueSendQueue() {
+        return new Queue(RabbitQueueEnum.IM_REDBAG_OVERDUE.getQueue());
+    }
+
+    @Bean
+    public Binding imOverdueSendBind() {
+        return BindingBuilder.bind(imOverdueSendQueue()).to(imOverdueSendExchange()).with(RabbitQueueEnum.IM_REDBAG_OVERDUE.getRoute());
+    }
+    // === 自动发送  end ===
+
 }

--
Gitblit v1.9.1