SpringBoot启动自定义Banner图

  • Post author:
  • Post category:其他



一、在yml文件中配置

spring: 
 # 配置banner
  banner:
    location: classpath:banner.txt

二、在yml文件的同目录下创建banner.txt

                     888
                    888888                                       888                                                                         8888888
            88888    8888                           888         888                         8888888                                8888888  88    88
             88888 888888888                         88888    888   88                    88888888     888  888                   888  888  88    88
              888888888888                           88888   888   888               8888888888888  88888   888                 88888  888  88888888
         888888888  888                          888888888  8888  8888888               888    888   8888  888                  8888   888  88888888
          8888888  888                        8888888888  888888 88888888               8888888888    8  88888                  8888888888  88    88
                88888888888                8888888888888888  888   888                  8888888888  88888888888                 888    888  88888888
              88888888888888                     8888888     888 88888888               888    888  888888888                   888    888  88    88
          8888888888   8888                    88888888      888 88888888               8888888888     8888                      88888888   88  8 88
           888   888  8888                   88888888    88  888   888                  8888888888  888888888888888                       888   8888
           888   888888888888888888       88888888888888888  888 88888888               888    888 88888888                        88888888888888888
           88888888888        888888             8888888888  888   888                 88888888888 8888888                         888  88  888 8888
     888888888  888                              8888        888 8888888888          8888888   888   8888    88888                 888  88 888  888
   888888      888    88888                        8         888 88888888888          8888     888  8888       8888                888  88888  888
             8888       888888                               88                                888               88         888888888888888888888888888888
           8888          888888                              88                                 8                           888888888888888888888888888888
          888               8888                              8

                                                                                                                   --by yuffie_sever [yīng xióng lián méng]

三、项目启动效果图

四、汉子转字符串的工具地址:


http://life.chacuo.net/convertfont2char

五、英文banner图地址


https://www.bootschool.net/ascii



版权声明:本文为weixin_45655824原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。