From 628765596a30ce7ee92a573063094ac58cb2b7df Mon Sep 17 00:00:00 2001 From: Cool <747682928@qq.com> Date: Tue, 20 May 2025 22:42:48 +0800 Subject: [PATCH] test --- .../src/main/java/org/jeecg/JeecgSystemApplication.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jeecg-module-system/jeecg-system-start/src/main/java/org/jeecg/JeecgSystemApplication.java b/jeecg-module-system/jeecg-system-start/src/main/java/org/jeecg/JeecgSystemApplication.java index b4fa3783..9e33213c 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/java/org/jeecg/JeecgSystemApplication.java +++ b/jeecg-module-system/jeecg-system-start/src/main/java/org/jeecg/JeecgSystemApplication.java @@ -31,6 +31,8 @@ public class JeecgSystemApplication extends SpringBootServletInitializer { 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")); + System.out.println("test"); log.info("\n----------------------------------------------------------\n\t" + "Local: \t\thttp://localhost:" + port + path + "/\n\t" + "External: \thttp://" + ip + ":" + port + path + "/\n\t" + @@ -39,4 +41,5 @@ public class JeecgSystemApplication extends SpringBootServletInitializer { } -} \ No newline at end of file +} +