forked from gitee/vben-java
欢迎语修改
This commit is contained in:
@@ -23,7 +23,7 @@ import java.net.UnknownHostException;
|
||||
public class Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
ApplicationContext app = SpringApplication.run(Application.class, args);
|
||||
ApplicationContext app = SpringApplication.run(Application.class, args);
|
||||
String[] beanDefinitionNames = app.getBeanDefinitionNames();
|
||||
for (int i = 0; i < beanDefinitionNames.length; i++) {
|
||||
// System.out.println(beanDefinitionNames[i]);
|
||||
@@ -42,9 +42,13 @@ public class Application {
|
||||
path = "";
|
||||
}
|
||||
log.info("\n----------------------------------------------------------\n\t" +
|
||||
"Application is running! Access URLs:\n\t" +
|
||||
"Local访问网址: \t\thttp://localhost:" + port + path +"/vue.html"+ "\n\t" +
|
||||
"External访问网址: \thttp://" + ip + ":" + port + path +"/vue.html"+ "\n\t");
|
||||
"Application is running! \n\t" +
|
||||
"Local接口访问地址: \t\thttp://localhost:" + port + path + "/doc.html" + "\n\t" +
|
||||
"External访问网址: \thttp://" + ip + ":" + port + path + "/doc.html" + "\n\t");
|
||||
// log.info("\n----------------------------------------------------------\n\t" +
|
||||
// "Application is running! Access URLs:\n\t" +
|
||||
// "Local访问网址: \t\thttp://localhost:" + port + path +"/vue.html"+ "\n\t" +
|
||||
// "External访问网址: \thttp://" + ip + ":" + port + path +"/vue.html"+ "\n\t");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user