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); } } }