xiaoyong931011
2023-06-19 91ad7f2e1d7162d78e861644c5210fc025f76866
src/main/java/cc/mrbird/febs/rabbit/producer/ChainProducer.java
@@ -189,4 +189,22 @@
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        rabbitTemplate.convertAndSend(QueueEnum.ANT_K_LINE.getExchange(), QueueEnum.ANT_K_LINE.getRoute(), type, correlationData);
    }
    /**
     * 转账拨币
     */
    public void sendAntKLineABMsg(Long id) {
        log.info("开始转账拨币第二步:{}", id);
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        rabbitTemplate.convertAndSend(QueueEnum.ANT_K_LINE_AB.getExchange(), QueueEnum.ANT_K_LINE_AB.getRoute(), id, correlationData);
    }
    /**
     * 转账拨币
     */
    public void sendAllMemberPerkAvaMsg(Long id) {
        log.info("开始全体平分:{}", id);
        CorrelationData correlationData = new CorrelationData(UUID.randomUUID().toString());
        rabbitTemplate.convertAndSend(QueueEnum.ALL_MEMBER_PERK_AVA.getExchange(), QueueEnum.ALL_MEMBER_PERK_AVA.getRoute(), id, correlationData);
    }
}