Spring Mvc和Spring Boot读取Profile方式
spring boot java代码中获取spring.profiles.active - u013042707的专栏 - CSDN博客
https://blog.csdn.net/u013042707/article/details/80632057
在Java类中取web.xml中配置的profile - mlz_2的专栏 - CSDN博客
https://blog.csdn.net/mlz_2/article/details/80607821