From 529ad9dd8d1876b57e852bc45b602ba3ccc8df2a Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 10 Apr 2024 17:19:08 +0800
Subject: [PATCH] 公告-首页公告调整

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

diff --git a/src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java b/src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
index 972bd28..366ac20 100644
--- a/src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
+++ b/src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -96,4 +96,14 @@
             log.error("获取积分消息异常", e);
         }
     }
+
+    @RabbitListener(queues = QueueConstants.VIP_LEVEL_UP)
+    public void vipLevelUp(Long orderId) {
+        log.info("收到会员升级消息:{}", orderId);
+        try {
+            vipCommonService.levelUp(orderId);
+        } catch (Exception e) {
+            log.error("会员升级消息异常", e);
+        }
+    }
 }

--
Gitblit v1.9.1