springboot引入外部yml配置文件

当须要在springboot中引用其余的yml文件时,须要在application.yml里配置spring spring: profiles: include: email,xmyb 值得注意的是:application-email.yml的前缀必定要和主在配置文件application.yml的名字一致springboot
相关文章
相关标签/搜索