From 5ea1d136abd16e37d22c8fb98e1d124a41a59159 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 23 Jul 2023 17:41:00 +0800
Subject: [PATCH] 智能合约
---
src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java b/src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java
index 24331e3..991d764 100644
--- a/src/main/java/cc/mrbird/febs/rabbit/consumer/ChainConsumer.java
+++ b/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);
+ }
}
--
Gitblit v1.9.1