main
黄海 7 months ago
parent 8e53d49880
commit 869be0c7f2

@ -24,14 +24,6 @@ public class Start extends JFinalConfig {
UndertowServer.create(Start.class, "undertow.properties").start();
}
//在jfinal启动完成后马上执行
public void onStart() {
//打印 启动Logo
String path = Start.class.getClassLoader().getResource("Logo.txt").getPath();
File file = new File(path);
System.out.println(CommonUtil.txt2String(file));
}
/**
*
*/
@ -96,4 +88,11 @@ public class Start extends JFinalConfig {
public void configHandler(Handlers me) {
}
public void onStart() {
//打印 启动Logo
String path = Start.class.getClassLoader().getResource("Logo.txt").getPath();
File file = new File(path);
System.out.println(CommonUtil.txt2String(file));
}
}

Loading…
Cancel
Save