src/main/java/cc/mrbird/febs/rabbit/consumer/AgentConsumer.java
@@ -6,6 +6,7 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.stereotype.Component; /** @@ -14,6 +15,7 @@ **/ @Slf4j @Component @ConditionalOnProperty(prefix = "consumer", name = "open", havingValue = "true") public class AgentConsumer { @Autowired private IAgentService agentService;