fixed 去掉无用注解

This commit is contained in:
冷冷 2018-03-15 09:48:11 +08:00
parent a6ad250562
commit 373d141314
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients; import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
/** /**
* @author lengleng * @author lengleng
@ -14,7 +13,6 @@ import org.springframework.security.oauth2.config.annotation.web.configuration.E
* EnableResourceServer * EnableResourceServer
*/ */
@SpringBootApplication @SpringBootApplication
@EnableResourceServer
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableFeignClients @EnableFeignClients
@ComponentScan(basePackages = {"com.github.pig.auth", "com.github.pig.common.bean"}) @ComponentScan(basePackages = {"com.github.pig.auth", "com.github.pig.common.bean"})