二、SpringBoot之yml配置文件

1、给项目设置端口号,及访问路径 server: port: 8088 servlet-path: /study-springboot-hello 2、浏览器相应 3、在yml文件中传入对象,map,list等 server: port: 8088 servlet-path: /study-springboot-hello person: name: 张三 age: 18
相关文章
相关标签/搜索