diff --git a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml
index 4e379b37..74d438cd 100644
--- a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml
+++ b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/java/startClass.xml
@@ -12,8 +12,6 @@
*/
package com.jeesite.modules;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import com.jeesite.modules.cloud.feign.EnableFeignClients;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -38,9 +36,9 @@ public class ${@StringUtils.capCamelCase(moduleCode)}Application extends SpringB
public static void main(String[] args) {
SpringApplication.run(${@StringUtils.capCamelCase(moduleCode)}Application.class, args);
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n " + ${@StringUtils.capCamelCase(moduleCode)}Application.class.getName() + " 启动完成。"
- + "\r\n\r\n==============================================================\r\n");
+ "\n\n==============================================================\n"
+ + "\n " + ${@StringUtils.capCamelCase(moduleCode)}Application.class.getName() + " 启动完成。\n"
+ + "\n==============================================================\n");
}
@Override
diff --git a/modules/pom.xml b/modules/pom.xml
index e32b460e..129a3f7a 100644
--- a/modules/pom.xml
+++ b/modules/pom.xml
@@ -13,9 +13,9 @@
2013-Now
- core
app
cms
+ core
static
test
diff --git a/web-api/src/main/java/com/jeesite/modules/ApiApplication.java b/web-api/src/main/java/com/jeesite/modules/ApiApplication.java
index e85b4ff8..3c410e45 100644
--- a/web-api/src/main/java/com/jeesite/modules/ApiApplication.java
+++ b/web-api/src/main/java/com/jeesite/modules/ApiApplication.java
@@ -25,12 +25,12 @@ public class ApiApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(ApiApplication.class, args);
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n 启动完成,接口地址:http://127.0.0.1:"
- + Global.getProperty("server.port") + FileUtils.path("/"
- + Global.getProperty("server.servlet.context-path"))
- + "\r\n\r\n 默认管理账号: system 密码: admin"
- + "\r\n\r\n==============================================================\r\n");
+ "\n\n==============================================================\n"
+ + "\n 启动完成,接口地址:http://127.0.0.1:{}\n"
+ + "\n 默认管理账号: system 密码: admin\n"
+ + "\n==============================================================\n",
+ Global.getProperty("server.port") + FileUtils.path("/"
+ + Global.getProperty("server.servlet.context-path")));
}
@Override
diff --git a/web-fast/src/main/java/com/jeesite/modules/FastApplication.java b/web-fast/src/main/java/com/jeesite/modules/FastApplication.java
index 4cc07af3..dbc799ad 100644
--- a/web-fast/src/main/java/com/jeesite/modules/FastApplication.java
+++ b/web-fast/src/main/java/com/jeesite/modules/FastApplication.java
@@ -41,19 +41,20 @@ public class FastApplication extends SpringBootServletInitializer {
String ctxPath = Global.getProperty("server.servlet.context-path");
if (StringUtils.isNoneBlank(vuePath, ctxPath)) {
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n 提示:您修改了 server.servlet.context-path 参数,需要您"
- + "\r\n 同步修改 _app.config.js 中的 VITE_GLOB_API_URL_PREFIX 参数 "
- + "\r\n 请修改为 VITE_GLOB_API_URL_PREFIX=\"" + ctxPath + "\""
- + "\r\n\r\n==============================================================\r\n");
+ "\n\n==============================================================\n"
+ + "\n 提示:您修改了 server.servlet.context-path 参数,需要您"
+ + "\n 同步修改 _app.config.js 中的 VITE_GLOB_API_URL_PREFIX 参数 "
+ + "\n 请修改为 VITE_GLOB_API_URL_PREFIX=\"{}\" 并重新打包 Vue\n"
+ + "\n==============================================================\n",
+ ctxPath);
}
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n 启动完成,访问地址:http://127.0.0.1:"
- + Global.getProperty("server.port") + FileUtils.path("/"
- + Global.getProperty("server.servlet.context-path"))
- + "\r\n\r\n 默认管理账号: system 密码: admin"
- + "\r\n\r\n==============================================================\r\n");
+ "\n\n==============================================================\n"
+ + "\n 启动完成,访问地址:http://127.0.0.1:{}\n"
+ + "\n 默认管理账号: system 密码: admin\n"
+ + "\n==============================================================\n",
+ Global.getProperty("server.port") + FileUtils.path("/"
+ + Global.getProperty("server.servlet.context-path")));
}
@Override
diff --git a/web-mini/src/main/java/com/jeesite/modules/MiniApplication.java b/web-mini/src/main/java/com/jeesite/modules/MiniApplication.java
index 975c03b5..c6bc7e54 100644
--- a/web-mini/src/main/java/com/jeesite/modules/MiniApplication.java
+++ b/web-mini/src/main/java/com/jeesite/modules/MiniApplication.java
@@ -25,12 +25,12 @@ public class MiniApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(MiniApplication.class, args);
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n 启动完成,监控地址:http://127.0.0.1:"
- + Global.getProperty("server.port") + FileUtils.path("/"
+ "\n\n==============================================================\n"
+ + "\n 启动完成,访问地址:http://127.0.0.1:{}\n"
+ + "\n==============================================================\n",
+ Global.getProperty("server.port") + FileUtils.path("/"
+ Global.getProperty("server.servlet.context-path")
- + Global.getAdminPath()) + "/state/server/index"
- + "\r\n\r\n==============================================================\r\n");
+ + Global.getAdminPath()) + "/state/server/index");
}
@Override
diff --git a/web/src/main/java/com/jeesite/modules/Application.java b/web/src/main/java/com/jeesite/modules/Application.java
index 84849f68..c2bfc5b4 100644
--- a/web/src/main/java/com/jeesite/modules/Application.java
+++ b/web/src/main/java/com/jeesite/modules/Application.java
@@ -25,12 +25,12 @@ public class Application extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
logger.info(
- "\r\n\r\n==============================================================\r\n"
- + "\r\n 启动完成,访问地址:http://127.0.0.1:"
- + Global.getProperty("server.port") + FileUtils.path("/"
- + Global.getProperty("server.servlet.context-path"))
- + "\r\n\r\n 默认管理账号: system 密码: admin"
- + "\r\n\r\n==============================================================\r\n");
+ "\n\n==============================================================\n"
+ + "\n 启动完成,访问地址:http://127.0.0.1:{}\n"
+ + "\n 默认管理账号: system 密码: admin\n"
+ + "\n==============================================================\n",
+ Global.getProperty("server.port") + FileUtils.path("/"
+ + Global.getProperty("server.servlet.context-path")));
}
@Override