SpringBoot 配置文件属性获取

1. 获取application.yml或者application.properties中的单个属性 1.1 在application.yml中自定义属性 spring: application: name: spring-boot-study server: port: 10000 prop: name: z3 age: 21 1.2 在Controller中获取属性 p
相关文章
相关标签/搜索