SpringBoot學習篇1[配置文件知多少]

目錄 一 使用IDEA新建立SpringBoot項目 二 默認配置的修改與值的注入 2.1 經過application.properties文件修改 2.2 經過application.yml文件修改 2.2.1 yaml介紹 2.2.2 yaml語法介紹 2.2.3 yaml經常使用寫法舉例 2.3 配置文件值的注入 2.3.1 使用@Value獲取單個值 2.3.2 使用@Configurat
相關文章
相關標籤/搜索