Browse Source

去除ComponentScan

dev_shibei_match
yinzuomei 6 years ago
parent
commit
087e704efe
  1. 1
      epmet-gateway/src/main/java/com/epmet/GatewayApplication.java

1
epmet-gateway/src/main/java/com/epmet/GatewayApplication.java

@ -23,7 +23,6 @@ import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages={"com.epmet.*"})
public class GatewayApplication {
public static void main(String[] args) {

Loading…
Cancel
Save