GatewayApp
哪吒 2020/1/1
点击勘误issues (opens new window),哪吒感谢大家的阅读
# GatewayApp
// 启用Swagger2
@EnableSwagger2
// 启用FeignClients
@EnableFeignClients
// 启用DiscoveryClient
@EnableDiscoveryClient
// Spring Boot应用程序启动类
@SpringBootApplication(
// 排除SecurityAutoConfiguration和DataSourceAutoConfiguration
exclude ={ SecurityAutoConfiguration.class,DataSourceAutoConfiguration.class},
// 扫描指定包下的类
scanBasePackages = {"com.xxx"})