Spring Boot 從application.yml中獲取自定義配置,並動態修改

1,application.ymljava company: office: convertWindowsCmd: ${project.office.convertWindowsCmd} convertLinuxCmd: ${project.office.convertLinuxCmd} 2,application-dev/other.yml,或直接寫在application.
相關文章
相關標籤/搜索