mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-13 21:43:45 +08:00
SpringBoot 配置文件
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
# Spring Profiles Active
|
||||
spring.main.banner-mode=off
|
||||
spring.profiles.active=dev
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user