Files
Tbed/src/main/java/cn/hellohao/utils/AfterServiceStarted.java
T
2019-09-08 20:30:57 +08:00

28 lines
829 B
Java

package cn.hellohao.utils;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
import java.util.Scanner;
@Component
public class AfterServiceStarted implements ApplicationRunner {
/**
* 会在服务启动完成后立即执行
*/
@Override
public void run(ApplicationArguments args) throws Exception {
Print.Normal("______________________________________________");
// Print.Normal(" Hellohao-Pro ");
// Print.Normal(" Successful startup of the program ");
// Print.Normal(" is OK! Open http://your ip:port ");
// Print.Normal("______________________________________________");
//getLinuxLocalIp();
}
}