摘要: @ConditionalOnProperty 根据属性值创建对象 属性存在且值匹配时创建,不存在时不创建。my-config.enable-property = true时才会创建对象 my-config.enable-property = true import org.springframewo 阅读全文
posted @ 2022-06-08 09:51 翠微 阅读(506) 评论(0) 推荐(0) 编辑