SpringBoot 配置文件

This commit is contained in:
JeffLi1993
2017-04-20 18:53:18 +08:00
committed by liqiangqiang
parent 71e9534c31
commit 60b5899e22
3 changed files with 26 additions and 10 deletions

View File

@@ -1,3 +1,2 @@
# Spring Profiles Active
spring.main.banner-mode=off
spring.profiles.active=dev

View File

@@ -28,12 +28,12 @@ public class PropertiesTest {
@Test
public void getHomeProperties() {
LOGGER.info(homeProperties.toString());
LOGGER.info("\n\n" + homeProperties.toString() + "\n");
}
@Test
public void randomTestUser() {
LOGGER.info(userProperties.toString());
LOGGER.info("\n\n" + userProperties.toString() + "\n");
}
}