@Component
public class Text implements CommandLineRunner {
@Override
public void run(String... args) {
}
}
实现CommandLineRunner 接口即可
@Component
public class Text implements CommandLineRunner {
@Override
public void run(String... args) {
}
}
实现CommandLineRunner 接口即可