Administrator
2025-09-01 1f7c85d6c632f50fd145bd8517933bd55202aef1
src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -138,4 +138,24 @@
            log.error("核销活动门票异常", e);
        }
    }
    @RabbitListener(queues = QueueConstants.CLOTHES_ADD_LIKE)
    public void getAddLike(Long socialId) {
        log.info("点赞:{}", socialId);
        try {
            happyActivityService.getAddLike(socialId);
        } catch (Exception e) {
            log.error("点赞异常", e);
        }
    }
    @RabbitListener(queues = QueueConstants.CLOTHES_ADD_COLLECT)
    public void getAddCollect(Long socialId) {
        log.info("收藏:{}", socialId);
        try {
            happyActivityService.getAddCollect(socialId);
        } catch (Exception e) {
            log.error("收藏异常", e);
        }
    }
}