KKSU
2025-01-17 00a4e3cab6b4d038b2b5fbb45d816b57481bbe0f
src/main/java/cc/mrbird/febs/rabbit/producter/AgentProducer.java
@@ -90,4 +90,11 @@
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        rabbitTemplate.convertAndSend(RabbitQueueEnum.GET_SCORE_MSG.getExchange(), RabbitQueueEnum.GET_SCORE_MSG.getRoute(), orderId, correlationData);
    }
    public void sendVipLevelUp(Long orderId) {
        log.info("发送会员升级消息:{}", orderId);
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        rabbitTemplate.convertAndSend(RabbitQueueEnum.VIP_LEVEL_UP.getExchange(), RabbitQueueEnum.VIP_LEVEL_UP.getRoute(), orderId, correlationData);
    }
}