| | |
| | | dappSystemService.onlineTransfer(batchNo); |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.DISTRIB_PROFIT) |
| | | public void distrbProfit(String id) { |
| | | @RabbitListener(queues = QueueConstants.QUEUE_GFA_ZY_HUA_DIAN) |
| | | public void distrbProfit(Long id) { |
| | | log.info("收到滑点分配消息:{}", id); |
| | | dappSystemService.tradeProfitDistribute(Long.parseLong(id)); |
| | | // dappSystemService.tradeProfitDistribute(id); |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.USER_BUY_REWARD) |
| | |
| | | log.info("收到用户购买奖励消息:{}", id); |
| | | dappSystemService.userBuyReward(Long.parseLong(id)); |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_GFA_ZY_TIME) |
| | | public void getZhiYaDelayMsg(Long achieveId) { |
| | | log.info("收到延时质押消息,编号:{}",achieveId); |
| | | try { |
| | | dappSystemService.getZhiYaDelayMsg(achieveId); |
| | | } catch (Exception e) { |
| | | log.error("延时开奖异常", e); |
| | | // todo 更新表 |
| | | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_GFA_ZY_TIME_FLOW) |
| | | public void getZhiYaDelayMsgFlow(Long flowId) { |
| | | log.info("收到延时质押流水消息,编号:{}",flowId); |
| | | try { |
| | | dappSystemService.getZhiYaDelayMsgFlow(flowId); |
| | | } catch (Exception e) { |
| | | log.error("延时开奖异常", e); |
| | | // todo 更新表 |
| | | |
| | | } |
| | | } |
| | | } |