摘要: springboot大大的简化了以往的spring对定时器的配置。现在配置定时器仅仅需要2步 : 1、在application启动类中添加注解@EnableScheduling package com.example.demo; import org.springframework.boot.Spr 阅读全文
posted @ 2019-11-21 16:44 残酷159 阅读(320) 评论(0) 推荐(0)
摘要: springboot启动图,由spring.banner的一系列参数进行控制 。 最重要2个参数 spring.banner.location=classpath:banner.txtspring.banner.image.location=classpath:banner.gif所以我们只需要把自 阅读全文
posted @ 2019-11-21 11:24 残酷159 阅读(822) 评论(0) 推荐(0)