优化 Application 启动完成输出的提示信息
This commit is contained in:
@@ -25,12 +25,12 @@ public class Application extends SpringBootServletInitializer {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(Application.class, args);
|
SpringApplication.run(Application.class, args);
|
||||||
logger.info(
|
logger.info(
|
||||||
"\r\n\r\n==============================================================\r\n"
|
"\n\n==============================================================\n"
|
||||||
+ "\r\n 启动完成,访问地址:http://127.0.0.1:"
|
+ "\n 启动完成,访问地址:http://127.0.0.1:{}\n"
|
||||||
+ Global.getProperty("server.port") + FileUtils.path("/"
|
+ "\n 默认管理账号: system 密码: admin\n"
|
||||||
+ Global.getProperty("server.servlet.context-path"))
|
+ "\n==============================================================\n",
|
||||||
+ "\r\n\r\n 默认管理账号: system 密码: admin"
|
Global.getProperty("server.port") + FileUtils.path("/"
|
||||||
+ "\r\n\r\n==============================================================\r\n");
|
+ Global.getProperty("server.servlet.context-path")));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user