提交 0267bc55 编写于 作者: T Thinkingcao

更新README文件

上级 8e6121a7
The MIT License (MIT)
Copyright (c) 2018 silence
Copyright (c) 2019 silence
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
......
package com.silence;
import com.silence.common.config.Global;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
......@@ -16,6 +17,7 @@ public class SilenceApplication
{
// System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(SilenceApplication.class, args);
printKeyLoadMessage();
System.out.println("(♥◠‿◠)ノ゙ Silence启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
......@@ -27,4 +29,17 @@ public class SilenceApplication
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
}
/**
* 获取Key加载信息
*/
public static boolean printKeyLoadMessage() {
StringBuilder sb = new StringBuilder();
sb.append("\r\n======================================================================\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());
return true;
}
}
\ No newline at end of file
......@@ -28,6 +28,7 @@ import java.util.stream.Collectors;
* @author: cao_wencao
* @date: 2019-09-02 17:06
*/
@AllArgsConstructor
@Configuration
@EnableConfigurationProperties(WxMpProperties.class)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册