springBoot启动运行的几种方式 静态代码块构造方法@PostConstruct注解,对象注入完成执行标注该注解的方法实现CommandLineRunner接口,实现run方法ApplicationRunner接口,实现run方法