Helius
2021-01-29 fce0167137e8e7be4514b0e4c20cc09c40c9c0b8
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));
    }