提交 374b1214 编写于 作者: T Thinkingcao

更改启动打印信息

上级 ab6cdfac
......@@ -15,19 +15,9 @@ public class SilenceApplication
{
public static void main(String[] args)
{
// System.setProperty("spring.devtools.restart.enabled", "false");
System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(SilenceApplication.class, args);
printKeyLoadMessage();
System.out.println("(♥◠‿◠)ノ゙ Silence启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +
" |(_ o _) / _( )_ .' \n" +
" | (_,_).' __ ___(_ o _)' \n" +
" | |\\ \\ | || |(_,_)' \n" +
" | | \\ `' /| `-' / \n" +
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
}
/**
......@@ -36,6 +26,7 @@ public class SilenceApplication
public static boolean printKeyLoadMessage() {
StringBuilder sb = new StringBuilder();
sb.append("\r\n======================================================================\r\n");
sb.append("\r\n (♥◠‿◠)ノ゙ Silence启动成功 ლ(´ڡ`ლ)゙ \r\n");
sb.append("\r\n 欢迎使用 " + Global.getName() + " - Silence-Boot.Version : 3.4.RELEASE\r\n");
sb.append("\r\n======================================================================\r\n");
System.out.println(sb.toString());
......
Application Version: ${silence.version}
Spring Boot Version: ${spring-boot.version}
♥♥♥♥♥♥♥♥♥♥♥♥♥ SpringBoot项目开始启动.................♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥
////////////////////////////////////////////////////////////////////
// _ooOoo_ //
// o8888888o //
......@@ -21,4 +20,10 @@ Spring Boot Version: ${spring-boot.version}
// `=---=' //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
////////////////////////////////////////////////////////////////////
\ No newline at end of file
////////////////////////////////////////////////////////////////////
${AnsiColor.GREEN} :: Spring Boot :: (v${spring-boot.version})
${AnsiColor.GREEN} :: Silence Boot :: (v${silence.version}.RELEASE)
${AnsiColor.BLACK}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册