xiaoyong931011
2023-07-12 91c36cc2d9b5fae741fe5a59e366eb34c7072674
src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java
@@ -170,4 +170,40 @@
        log.info("消费---A k线数据:{}", type);
        dappSystemService.antKLineMsg(type);
    }
    /**转账拨币
     * @param id
     */
    @RabbitListener(queues = QueueConstants.QUEUE_ANT_K_LINE_AB)
    public void antKLineABMsg(Long id) {
        log.info("消费转账拨币第二步:{}", id);
        dappSystemService.antKLineABMsg(id);
    }
    /**转账拨币
     * @param id
     */
    @RabbitListener(queues = QueueConstants.QUEUE_ALL_MEMBER_PERK_AVA)
    public void allMemberPerkAvaMsg(Long id) {
        log.info("全体平分:{}", id);
        dappSystemService.allMemberPerkAvaMsg(id);
    }
    /**合约铸造ANDAO
     * @param flowId
     */
    @RabbitListener(queues = QueueConstants.QUEUE_CONTRACT_AN_DAO)
    public void contractAnDaoMsg(Long flowId) {
        log.info("1-消费合约铸造ANDAO:{}", flowId);
        dappSystemService.contractAnDaoMsg(flowId);
    }
    /**合约铸造ANDAO
     * @param flowId
     */
    @RabbitListener(queues = QueueConstants.QUEUE_ANT_A_CION_IN_CONTRACT)
    public void contractAnDaoInMsg(Long flowId) {
        log.info("2-消费合约铸造ANDAO:{}", flowId);
        dappSystemService.contractAnDaoInMsg(flowId);
    }
}