SpringbSoot项目启动后,自动调用某个方法
代码示例
public class test implements ApplicationRunner{
@Override
public void run(ApplicationArguments applicationArguments) throws Exception {
//todoing
}
SpringbSoot项目启动后,自动调用某个方法
代码示例
public class test implements ApplicationRunner{
@Override
public void run(ApplicationArguments applicationArguments) throws Exception {
//todoing
}