This commit is contained in:
wyd 2024-04-23 16:39:52 +08:00
parent 84b5b66446
commit 247fea9a88
4 changed files with 11 additions and 46 deletions

View File

@ -26,6 +26,15 @@ public class JGApplication
Environment env = application.getEnvironment(); Environment env = application.getEnvironment();
String ip = InetAddress.getLocalHost().getHostAddress(); String ip = InetAddress.getLocalHost().getHostAddress();
String port = env.getProperty("server.port"); String port = env.getProperty("server.port");
System.out.println("----------------------------------------------------------");
System.out.println(" ████████ ██ ██ \n" +
" ██░░░░░░ ░██ ░██ \n" +
"░██ ██████ ██████ ██████ ██████\n" +
"░█████████░░░██░ ░░░░░░██ ░░██░░█░░░██░ \n" +
"░░░░░░░░██ ░██ ███████ ░██ ░ ░██ \n" +
" ░██ ░██ ██░░░░██ ░██ ░██ \n" +
" ████████ ░░██ ░░████████░███ ░░██ ");
System.out.println("----------------------------------------------------------");
log.info("\n----------------------------------------------------------\n\t" + log.info("\n----------------------------------------------------------\n\t" +
"Application is running! Access URLS:\n\t" + "Application is running! Access URLS:\n\t" +
"localhost: \t\t\thttp://" + "localhost" + ":" + port + "/\n\t" + "localhost: \t\t\thttp://" + "localhost" + ":" + port + "/\n\t" +

View File

@ -1,5 +1,6 @@
Application Version: ${jg.version} Application Version: ${jg.version}
Spring Boot Version: ${spring-boot.version} Spring Boot Version: ${spring-boot.version}
_____ _ _ _ ___ _____ __ _____ _____ _ _ _ ___ _____ __ _____
/ ____| (_) | | | | |__ \ | ____/_ | ____| / ____| (_) | | | | |__ \ | ____/_ | ____|
| (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__ | (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__
@ -8,26 +9,3 @@ Spring Boot Version: ${spring-boot.version}
|_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/ |_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/
| | __/ | | | __/ |
|_| |___/ |_| |___/
__ /^\
.' \ / :.\
/ \ | :: \
/ /. \ / ::: |
| |::. \ / :::'/
| / \::. | / :::'/
`--` \' `~~~ ':'/`
/ (
/ 0 _ 0 \
\/ \_/ \/
-== '.' | '.' ==-
/\ '-^-' /\
\ _ _ /
.-`-((\o/))-`-.
_ / //^\\ \ _
."o".( , .:::. , )."o".
|o o\\ \:::::/ //o o|
\ \\ |:::::| // /
\ \\__/:::::\__// /
\ .:.\ `':::'` /.:. /
\':: |_ _| ::'/
`---` `"""""` `---`

View File

@ -1,5 +1,6 @@
Application Version: ${jg.version} Application Version: ${jg.version}
Spring Boot Version: ${spring-boot.version} Spring Boot Version: ${spring-boot.version}
_____ _ _ _ ___ _____ __ _____ _____ _ _ _ ___ _____ __ _____
/ ____| (_) | | | | |__ \ | ____/_ | ____| / ____| (_) | | | | |__ \ | ____/_ | ____|
| (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__ | (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__
@ -8,26 +9,3 @@ Spring Boot Version: ${spring-boot.version}
|_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/ |_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/
| | __/ | | | __/ |
|_| |___/ |_| |___/
__ /^\
.' \ / :.\
/ \ | :: \
/ /. \ / ::: |
| |::. \ / :::'/
| / \::. | / :::'/
`--` \' `~~~ ':'/`
/ (
/ 0 _ 0 \
\/ \_/ \/
-== '.' | '.' ==-
/\ '-^-' /\
\ _ _ /
.-`-((\o/))-`-.
_ / //^\\ \ _
."o".( , .:::. , )."o".
|o o\\ \:::::/ //o o|
\ \\ |:::::| // /
\ \\__/:::::\__// /
\ .:.\ `':::'` /.:. /
\':: |_ _| ::'/
`---` `"""""` `---`