Helius
2021-09-07 1e4cab335b1cb68ad3438e522ea410c2d2e753ed
src/main/java/com/xcong/excoin/rabbit/consumer/OperateOrderPriceConsumer.java
@@ -45,12 +45,10 @@
    @RabbitListener(queues = RabbitMqConfig.QUEUE_WHOLE_PRICE)
    public void onMessageWholePrice(Message message, Channel channel) {
        log.info("我收到了用户的全仓价格消息");
        String content = new String(message.getBody());
        WholePriceDataModel wholePriceData = JSONObject.parseObject(content, WholePriceDataModel.class);
        OrderOperatePriceService.wholePriceDataOperation(wholePriceData);
        log.info("我收到了用户的全仓价格消息 : {}", content);
        OrderOperatePriceService.wholePriceDataOperation(Long.parseLong(content));
    }