Banner 介绍
首先Banner是什么?呃呃呃就是下面这玩意。。。
从文档中看到这东西是可以自定义的,然后试了下,变成下面这个样子:
实现方式
向classpath下加个banner.txt(如果文件放在其他地方,需通过配置
spring.banner.location
指定文件路径),banner.txt里面内容自定义即可。
编程实现:
SpringApplication springApplication=
首先Banner是什么?呃呃呃就是下面这玩意。。。
从文档中看到这东西是可以自定义的,然后试了下,变成下面这个样子:
向classpath下加个banner.txt(如果文件放在其他地方,需通过配置spring.banner.location
指定文件路径),banner.txt里面内容自定义即可。
编程实现:
SpringApplication springApplication=