微调一丢丢

This commit is contained in:
D 2024-04-25 01:24:51 +08:00
parent 0a432d1b4f
commit 8c59c5002d

View File

@ -33,12 +33,12 @@ public class RuoYiApplication {
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("\n----------------------------------------------------------\n\t" + System.out.println("\n----------------------------------------------------------\n" +
"Application Ruoyi-Geek is running! Access URLs:\n\t" + " Application Ruoyi-Geek is running! Access URLs:\n" +
"Local: \t\thttp://localhost:" + port + "/\n\t" + " Local: http://localhost:" + port + "/\n" +
"External: \thttp://" + ip + ":" + port + "/\n\t" + " External: http://" + ip + ":" + port + "/\n" +
"Swagger文档: \thttp://" + ip + ":" + port + "/swagger-ui/index.html\n\t" + " Swagger文档: http://" + ip + ":" + port + "/swagger-ui/index.html\n" +
"Knife4j文档: \thttp://" + ip + ":" + port + "/doc.html" + "" + "\n" + " Knife4j文档: http://" + ip + ":" + port + "/doc.html" + "" + "\n" +
"----------------------------------------------------------"); "----------------------------------------------------------");
} }
} }