src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -84,4 +84,16 @@ } } @RabbitListener(queues = QueueConstants.FORCE_VOUCHER_SALE) public void forceVoucherSaleConsumer(String price) { log.info("收到强制卖出消息,价格:{}",price); try { memberProfitService.selaHalfVoucher(price); } catch (Exception e) { log.error("强制卖出异常", e); // todo 更新表 } } }