forked from kidgrow-microservices-platform

kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/java/com/kidgrow/zuul/service/AccessLogService.java
@@ -5,6 +5,8 @@
import com.google.common.collect.Maps;
import com.kidgrow.common.utils.WebUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;
import org.springframework.http.HttpHeaders;
@@ -32,8 +34,8 @@
public class AccessLogService {
    private ExecutorService executorService;
//    @Autowired
//    private AmqpTemplate amqpTemplate;
    @Autowired
    private AmqpTemplate amqpTemplate;
    @Value("${spring.application.name}")
    private String defaultServiceId;