src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -102,4 +102,24 @@ log.error("收到用户信息:", e); } } @RabbitListener(queues = QueueConstants.YWG_ORDER_GET) public void orderGetMsg(String str) { log.info("支付后同意验证:{}", str); try { agentService.orderGetMsg(str); } catch (Exception e) { log.error("支付后同意验证:", e); } } @RabbitListener(queues = QueueConstants.YWG_ROLL_SEND) public void rollSendMsg(Long orderId) { log.info("支付后生成我的课程或者我的民宿卷:{}", orderId); try { agentService.rollSendMsg(orderId); } catch (Exception e) { log.error("支付后生成我的课程或者我的民宿卷:", e); } } }