SpringBoot yml 使用
SpringBoot 默认读取 application.yml|properties
YML 比properties配置文件更加节约 简约(结构)
创建application.yml
server: port: 8090 context-path: /ouyan |
SpringBoot 默认读取 application.yml|properties
YML 比properties配置文件更加节约 简约(结构)
创建application.yml
server: port: 8090 context-path: /ouyan |