| | |
| | | @RabbitListener(queues = QueueConstants.DISTRIB_PROFIT) |
| | | public void distrbProfit(String id) { |
| | | log.info("收到滑点分配消息:{}", id); |
| | | dappSystemService.tradeProfitDistribute(Long.parseLong(id)); |
| | | dappSystemService.tradeNftProfitDistribute(Long.parseLong(id)); |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.USER_BUY_REWARD) |
| | | public void userBuyReward(String id) { |
| | | log.info("收到用户购买奖励消息:{}", id); |
| | | dappSystemService.userBuyReward(Long.parseLong(id)); |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.NFT_BOX) |
| | | public void nftBox(String id) { |
| | | log.info("收到nft盲盒消息:{}", id); |
| | | dappSystemService.boxCnt(Long.parseLong(id)); |
| | | } |
| | | |
| | | /** |
| | | * 生产者在影子生态(矩阵)项目 |
| | | * @param data |
| | | */ |
| | | @RabbitListener(queues = QueueConstants.WITHDRAW_FEE) |
| | | public void withdrawFeeMsg(String data) { |
| | | log.info("收到影子生态手续费消息:{}", data); |
| | | dappSystemService.sdmWithdrawFee(data); |
| | | } |
| | | } |