作用:从配置文件中取值
用法:
1.取单个值(1)configuration.properties配置status.notice.switch=open(2)java文件自动注入@Value("${status.notice.switch}")private String statusNoticeSwitch;2.取数组(1)configuration.properties配置lanwon.hospital.id=43534,234543,w353654(2)java文件自动注入@Value("#{'${lanwon.hospital.id}'.split(',')}")private List<String> hospitalIdList;