Compare commits

..

No commits in common. "test" and "master" have entirely different histories.
test ... master

1 changed files with 4 additions and 4 deletions

View File

@ -30,9 +30,10 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
ConfigurableApplicationContext application = SpringApplication.run(JeecgSystemApplication.class, args); ConfigurableApplicationContext application = SpringApplication.run(JeecgSystemApplication.class, args);
Environment env = application.getEnvironment(); Environment env = application.getEnvironment();
String ip = InetAddress.getLocalHost().getHostAddress(); String ip = InetAddress.getLocalHost().getHostAddress();
String path = oConvertUtils.getString(env.getProperty("server.servle1111t.context-path")); String port = env.getProperty("server.port");
System.out.println("test"); String path = oConvertUtils.getString(env.getProperty("server.servlet.context-path"));
log.info("\n----------------------------------------------------------\n\t" + log.info("\n----------------------------------------------------------\n\t" +
"Application Jeecg-Boot is running! Access URLs:\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" +
"Swagger文档: \thttp://" + ip + ":" + port + path + "/doc.html\n" + "Swagger文档: \thttp://" + ip + ":" + port + path + "/doc.html\n" +
@ -40,5 +41,4 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
} }
} }