spring boot CommandLineRunner

在Application 实现 

CommandLineRunner 接口,在run里面写一些程序启动的时候需要做些什么
原文地址:https://www.cnblogs.com/tangwangming/p/8304219.html