From 4f23b01e7d2a663eab39cfea9604b9b5702ab7b7 Mon Sep 17 00:00:00 2001 From: donghaoliang Date: Tue, 29 Oct 2019 19:19:20 +0800 Subject: [PATCH] remove default profile --- .../src/main/resources/application.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/resources/application.yml b/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/resources/application.yml index aea5b18..35592ea 100644 --- a/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/resources/application.yml +++ b/druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/resources/application.yml @@ -14,7 +14,7 @@ spring: name: druid-spring-boot2-mybatis-example profiles: # 默认环境为 default,多数据源演示请改为 dynamic -# active: dynamic + # active: dynamic active: default h2: console: @@ -98,13 +98,6 @@ mybatis: debug: false -spring: - profiles: default - ---- - -debug: false - spring: profiles: dynamic autoconfigure: