src/main/java/com/xcong/excoin/rabbit/consumer/FollowConsumer.java
@@ -16,7 +16,7 @@ **/ @Slf4j @Component @ConditionalOnProperty(prefix = "app", name = "rabbit-consumer1", havingValue = "true") @ConditionalOnProperty(prefix = "app", name = "rabbit-consumer", havingValue = "true") public class FollowConsumer { @Autowired @@ -26,6 +26,7 @@ public void addFollowOrder(Message message, Channel channel) { String content = new String(message.getBody()); log.info("==收到跟单下单消息 : {}", content); followOrderOperationService.addFollowerOrder(Long.parseLong(content)); } }