springboot 读取配置文件值的方式 2019-12-13 本文已影响0人 LeslieAlex 1、使用@Value注解方式 2、使用Environment方式 3、使用@ConfigurationProperties方式