二、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
相關文章
相關標籤/搜索