1、@ConditionalOnProperty 根据配置文件条件动态加载容器 例:@ConditionalOnProperty(prefix = “application”,value = “tag”,havingValue = “aaa”) 当application.tag的值为aaa时加载该容器