摘要: 编写一个类,注册为Spring的Bean,然后实现CommandLineRunner接口,重写run()方法即可 @Component public class OpenBrowser implements CommandLineRunner { @Override public void run( 阅读全文
posted @ 2020-10-22 17:37 juyss 阅读(2223) 评论(0) 推荐(0)