From 263082cba1c358ecdcbb9e2ae63ac2dd9c91b6e3 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 02 Apr 2021 19:27:51 +0800 Subject: [PATCH] 20210402 转账,可用多减了实时盈亏 --- src/main/java/com/xcong/excoin/rabbit/consumer/FollowConsumer.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/rabbit/consumer/FollowConsumer.java b/src/main/java/com/xcong/excoin/rabbit/consumer/FollowConsumer.java index 51269c9..b5db176 100644 --- a/src/main/java/com/xcong/excoin/rabbit/consumer/FollowConsumer.java +++ b/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)); } } -- Gitblit v1.9.1