二、spring boot 2.x 定制个性化 banner

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/LDY1016/article/details/83412670

spring boot 默认的banner信息如图:

1、在src/main/resources下创建banner.txt文件

2、打开网站:http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20 定制自己的banner信息

3 、复制生成的banner信息到你的banner.txt文件中

 __ __    ___  _      _       ___       _      ___    __ __ 
|  |  |  /  _]| |    | |     /   \     | |    |   \  |  |  |
|  |  | /  [_ | |    | |    |     |    | |    |    \ |  |  |
|  _  ||    _]| |___ | |___ |  O  |    | |___ |  D  ||  ~  |
|  |  ||   [_ |     ||     ||     |    |     ||     ||___, |
|  |  ||     ||     ||     ||     |    |     ||     ||     |
|__|__||_____||_____||_____| \___/     |_____||_____||____/                                                                                                                                           

Spring Boot${spring-boot.formatted-version}

4、运行项目,banner信息显示如图

源码下载地址:https://pan.baidu.com/s/1Z771VDiuabDBJJV445xLeA#list/path=%2Fspring%20boot%202.x%20%E4%BB%A3%E7%A0%81

猜你喜欢

转载自blog.csdn.net/LDY1016/article/details/83412670