摘要: # SpringBoot中CommandLineRunner的作用> 平常开发中有可能需要实现在项目启动后执行的功能,SpringBoot提供的一种简单的实现方案就是添加一个model并实现CommandLineRunner接口,实现功能的代码放在实现的run方法中# 简单例子``` java pa 阅读全文
posted @ 2019-11-28 22:20 LZ太热 阅读(212) 评论(0) 推荐(0) 编辑