SpringBoot-YML的用法

SpringBoot yml 使用

SpringBoot 默认读取 application.yml|properties

YML 比properties配置文件更加节约 简约(结构)

创建application.yml

server:

  port:  8090

  context-path: /ouyan

原文地址:https://www.cnblogs.com/XJJD/p/10397492.html