修改启动类

This commit is contained in:
bigtian 2022-07-15 14:41:46 +08:00
parent bac23ce58f
commit 729c589e24
2 changed files with 1 additions and 3 deletions

2
.gitignore vendored
View File

@ -67,7 +67,7 @@ hs_err_pid*
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
*.iml
# *.ipr
# CMake

View File

@ -1,6 +1,5 @@
package cn.keking;
import cn.keking.config.AppBanner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@ -24,7 +23,6 @@ public class ServerMain {
stopWatch.start();
ConfigurableApplicationContext context = new SpringApplicationBuilder(ServerMain.class)
.logStartupInfo(false)
.banner(new AppBanner())
.run(args);
stopWatch.stop();
Integer port = context.getBean(ServerProperties.class).getPort();