@ConditionalOnProperty(name ="xxx", value ="true", matchIfMissing =true)
name:配置名
value:值
matchIfMissing:配置不存在也生效
@ConditionalOnProperty(name ="xxx", value ="true", matchIfMissing =true)
name:配置名
value:值
matchIfMissing:配置不存在也生效
本文标题:ConditionalOnProperty
本文链接:https://www.haomeiwen.com/subject/smruxdtx.html
网友评论