利用banner可以改变程序启动时输出内容
步骤:
1.在src/main/resources目录下添加一个banner.txt文件 或者banner.gif图片,springboot启动时会读取文件内容并显示
文件内容:
``````````````````hello world```````````````````
结果:
步骤:
1.在src/main/resources目录下添加一个banner.txt文件 或者banner.gif图片,springboot启动时会读取文件内容并显示
文件内容:
``````````````````hello world```````````````````
结果: