From df6303697bf3ba4969a1a9488966be6a605ce325 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 27 Aug 2022 15:06:25 +0800
Subject: [PATCH] fix

---
 src/main/java/cc/mrbird/febs/rabbit/RabbitConfiguration.java |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/rabbit/RabbitConfiguration.java b/src/main/java/cc/mrbird/febs/rabbit/RabbitConfiguration.java
index 95cd88d..7501014 100644
--- a/src/main/java/cc/mrbird/febs/rabbit/RabbitConfiguration.java
+++ b/src/main/java/cc/mrbird/febs/rabbit/RabbitConfiguration.java
@@ -111,4 +111,41 @@
         return BindingBuilder.bind(achieveTreeQueue()).to(achieveTreeExchange()).with(QueueEnum.ACHIEVE_TREE.getRoute());
     }
     // === 业绩树 end ===
+
+
+    // === 提现手续费 start ===
+    @Bean
+    public DirectExchange withdrawFeeExchange() {
+        return new DirectExchange(QueueEnum.WITHDRAW_FEE.getExchange());
+    }
+
+    @Bean
+    public Queue withdrawFeeQueue() {
+        return new Queue(QueueEnum.WITHDRAW_FEE.getQueue());
+    }
+
+    @Bean
+    public Binding withdrawFeeBind() {
+        return BindingBuilder.bind(withdrawFeeQueue()).to(withdrawFeeExchange()).with(QueueEnum.WITHDRAW_FEE.getRoute());
+    }
+    // === 提现手续费 end ===
+
+
+
+    // === tfc最新价 start ===
+    @Bean
+    public DirectExchange tfcNewPriceExchange() {
+        return new DirectExchange(QueueEnum.TFC_NEW_PRICE.getExchange());
+    }
+
+    @Bean
+    public Queue tfcNewPriceQueue() {
+        return new Queue(QueueEnum.TFC_NEW_PRICE.getQueue());
+    }
+
+    @Bean
+    public Binding tfcNewPriceBind() {
+        return BindingBuilder.bind(tfcNewPriceQueue()).to(tfcNewPriceExchange()).with(QueueEnum.TFC_NEW_PRICE.getRoute());
+    }
+    // === tfc最新价 end ===
 }

--
Gitblit v1.9.1