1、设置选择哪个配置文件
①
②
③application-dev.properties中:
2、用yaml选择哪个配置文件
①新建yaml文件:
②yaml中写:
active:dev 选择的就是8082。两个配置中间用---分开。