mirror of https://gitee.com/maxjhandsome/pig
fixed 去掉无用注解
This commit is contained in:
parent
a6ad250562
commit
373d141314
|
@ -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"})
|
||||||
|
|
Loading…
Reference in New Issue