spring boot 定义全局变量,自定义 Property spring boot 定义全局变量,自定义 Property 配置在 application.properties 中 spring boot 定义全局变量,自定义 Property 在 Web 开发的过程中,我经常需要自定义一些配置文件 配置在 application.properties 中 com.bull.title=大牛 com.bull.description=哈哈哈 @Component public class NeoProperties { @Value("${com.bull.titl