Closed mysterin closed 5 years ago
实现 CommandLineRunner 接口, 然后用 @Component 注解修饰类即可.
CommandLineRunner
@Component
实现
CommandLineRunner
接口, 然后用@Component
注解修饰类即可.