pull/9/head
tanghc 4 years ago
parent d5d987c3d2
commit a9a17731b2
  1. 6
      sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/config/WebsiteConfig.java

@ -8,13 +8,10 @@ import com.gitee.sop.gatewaycommon.manager.EnvironmentContext;
import com.gitee.sop.gatewaycommon.route.RegistryListener; import com.gitee.sop.gatewaycommon.route.RegistryListener;
import com.gitee.sop.gatewaycommon.route.ServiceListener; import com.gitee.sop.gatewaycommon.route.ServiceListener;
import com.gitee.sop.websiteserver.listener.ServiceDocListener; import com.gitee.sop.websiteserver.listener.ServiceDocListener;
import com.gitee.sop.websiteserver.manager.DocManager;
import com.gitee.sop.websiteserver.service.impl.EurekaServerService; import com.gitee.sop.websiteserver.service.impl.EurekaServerService;
import com.gitee.sop.websiteserver.service.impl.NacosServerService; import com.gitee.sop.websiteserver.service.impl.NacosServerService;
import org.springframework.beans.BeansException; import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters; import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
@ -36,9 +33,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration @Configuration
public class WebsiteConfig implements WebMvcConfigurer, EnvironmentAware, ApplicationContextAware { public class WebsiteConfig implements WebMvcConfigurer, EnvironmentAware, ApplicationContextAware {
@Autowired
DocManager docManager;
@Autowired @Autowired
private RegistryListener registryListener; private RegistryListener registryListener;

Loading…
Cancel
Save