Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
|
e1b56f6932 | |
|
986d43b185 | |
|
628765596a | |
|
ae173c7b17 | |
|
9f82b9055e |
|
@ -30,10 +30,9 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
|
|||
ConfigurableApplicationContext application = SpringApplication.run(JeecgSystemApplication.class, args);
|
||||
Environment env = application.getEnvironment();
|
||||
String ip = InetAddress.getLocalHost().getHostAddress();
|
||||
String port = env.getProperty("server.port");
|
||||
String path = oConvertUtils.getString(env.getProperty("server.servlet.context-path"));
|
||||
String path = oConvertUtils.getString(env.getProperty("server.servle1111t.context-path"));
|
||||
System.out.println("test");
|
||||
log.info("\n----------------------------------------------------------\n\t" +
|
||||
"Application Jeecg-Boot is running! Access URLs:\n\t" +
|
||||
"Local: \t\thttp://localhost:" + port + path + "/\n\t" +
|
||||
"External: \thttp://" + ip + ":" + port + path + "/\n\t" +
|
||||
"Swagger文档: \thttp://" + ip + ":" + port + path + "/doc.html\n" +
|
||||
|
@ -41,4 +40,5 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue