摘要: @ConfigurationProperties注解获取配置文件application.yml或application.properties中配置的属性值,并注入Bean中。 如springcloud getway的配置 spring: application: name: getway-serve 阅读全文
posted @ 2020-08-08 21:21 复一日 阅读(478) 评论(0) 推荐(0) 编辑