package com.zy.acs.gateway; 
 | 
  
 | 
import org.springframework.boot.SpringApplication; 
 | 
import org.springframework.boot.autoconfigure.SpringBootApplication; 
 | 
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 
 | 
import org.springframework.cloud.openfeign.EnableFeignClients; 
 | 
  
 | 
@EnableDiscoveryClient 
 | 
@SpringBootApplication 
 | 
@EnableFeignClients(basePackages = "com.zy.acs.rpc") 
 | 
//@ComponentScan(basePackages = {"com.zy.acs.gateway","com.zy.acs.rpc"}) 
 | 
public class GatewayBoot { 
 | 
  
 | 
    public static void main(String[] args) { 
 | 
        SpringApplication.run(GatewayBoot.class, args); 
 | 
    } 
 | 
  
 | 
} 
 |