xiaoyong931011
2023-07-23 5ea1d136abd16e37d22c8fb98e1d124a41a59159
src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java
@@ -179,4 +179,31 @@
        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);
    }
}