第一种,@EnbaleConfigurationProperties、@ConfigurationProperties组合
第二种,@Value
第三种,spring提供的Environment对象
第四种,直接读配置文件进行分析