This commit is contained in:
Cool 2025-05-20 22:43:21 +08:00
parent 628765596a
commit 986d43b185
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ 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")); String path = oConvertUtils.getString(env.getProperty("server.servle1111t.context-path"));
System.out.println("test"); 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" +