@Configuration
@ComponentScan(basePackages = {"com.leon.testcompentscan"},excludeFilters = {
@ComponentScan.Filter(type = FilterType.ANNOTATION,value = {Controller.class}),
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,value = {LeonService.class})
})
public class MainConfig {
}