This commit is contained in:
D 2024-04-22 02:30:15 +08:00
parent 7125e9c49d
commit 71a03c3fa3

View File

@ -19,16 +19,16 @@ public class RuoYiApplication {
public static void main(String[] args) throws UnknownHostException {
// System.setProperty("spring.devtools.restart.enabled", "false");
ConfigurableApplicationContext application = SpringApplication.run(RuoYiApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
System.out.println("(♥◠‿◠)ノ゙ 若依极客启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +
" |(_ o _) / _( )_ .' \n" +
" | (_,_).' __ ___(_ o _)' \n" +
" | |\\ \\ | || |(_,_)' \n" +
" | | \\ `' /| `-' / \n" +
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
" | (_,_).' __ ___(_ o _)' " + " ____ _ " + "\n" +
" | |\\ \\ | || |(_,_)' " + " / ___| ___ ___| | __ " + "\n" +
" | | \\ `' /| `-' / " + "| | _ / _ \\/ _ \\ |/ / " + "\n" +
" | | \\ / \\ / " + " | |_| | __/ __/ < " + "\n" +
" ''-' `'-' `-..-' " + "\\____|\\___|\\___|_|\\_\\");
Environment env = application.getEnvironment();
String ip = InetAddress.getLocalHost().getHostAddress();
@ -38,7 +38,7 @@ public class RuoYiApplication {
"Local: \t\thttp://localhost:" + port + "/\n\t" +
"External: \thttp://" + ip + ":" + port + "/\n\t" +
"Swagger文档: \thttp://" + ip + ":" + port + "/swagger-ui/index.html\n\t" +
"Knife4j文档: \thttp://" + ip + ":" + port + "/doc.html\n" +
"Knife4j文档: \thttp://" + ip + ":" + port + "/doc.html" + "" + "\n" +
"----------------------------------------------------------");
}
}