Compare commits

..

5 Commits
master ... test

Author SHA1 Message Date
Qi e1b56f6932 121 2025-05-20 22:48:52 +08:00
Cool 986d43b185 test 2025-05-20 22:45:03 +08:00
Cool 628765596a test 2025-05-20 22:44:59 +08:00
Qi ae173c7b17 1 2025-05-20 22:44:09 +08:00
Qi 9f82b9055e 123123 2025-05-20 22:41:25 +08:00
1 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,9 @@ 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 port = env.getProperty("server.port"); String path = oConvertUtils.getString(env.getProperty("server.servle1111t.context-path"));
String path = oConvertUtils.getString(env.getProperty("server.servlet.context-path")); System.out.println("test");
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" +
@ -42,3 +41,4 @@ public class JeecgSystemApplication extends SpringBootServletInitializer {
} }
} }