获取YML文件中的值
yml文件web: uploadPath: ${web.upload_path} platformUrl: ${web.platform_url}在代码中通过@Value使用yml中给的值@Value("${web.uploadPath}")private String uploadpath;因为yml文件不能通过@VALUE获取,启动项目会报错org....