test
This commit is contained in:
parent
ae173c7b17
commit
628765596a
|
@ -31,6 +31,8 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
|
||||||
Environment env = application.getEnvironment();
|
Environment env = application.getEnvironment();
|
||||||
String ip = InetAddress.getLocalHost().getHostAddress();
|
String ip = InetAddress.getLocalHost().getHostAddress();
|
||||||
String port = env.getProperty("server.port");
|
String port = env.getProperty("server.port");
|
||||||
|
String path = oConvertUtils.getString(env.getProperty("server.servlet.context-path"));
|
||||||
|
System.out.println("test");
|
||||||
log.info("\n----------------------------------------------------------\n\t" +
|
log.info("\n----------------------------------------------------------\n\t" +
|
||||||
"Local: \t\thttp://localhost:" + port + path + "/\n\t" +
|
"Local: \t\thttp://localhost:" + port + path + "/\n\t" +
|
||||||
"External: \thttp://" + ip + ":" + port + path + "/\n\t" +
|
"External: \thttp://" + ip + ":" + port + path + "/\n\t" +
|
||||||
|
@ -40,3 +42,4 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue