springboot 配置 中查找application.properties中对应的数据,添加对应的prefix前缀

@ConditionalOnProperty(prefix = "spring.redis", name = "enabled", havingValue = "true")
原文地址:https://www.cnblogs.com/Hackerman/p/11754049.html