当前标签: yml
springboot~yml里的自定义配置
主要介绍三种,字符串配置,数组配置和带默认值的配置 字符串配置 //yml setString: hello /** * 字符串. */ @Value("${setString}") String setString; 数组配置 //yml setArray: -http://www.taobao.com -ht...
2019-01-02 11:10
阅读(1271)
SpringBoot之yml文件配置、日志文件配置
Application.yml配置: app: instance: code: portal profile: dev rest: # profile: dev profiles: datacenter: dev file: upload-path: e:\file\upload template-path: c...
2018-10-22 14:31
阅读(3099)