spring boot 自定义banner

来源:互联网 发布:淘宝网购物手机 编辑:程序博客网 时间:2024/05/22 06:23

在resources目录下新建banner.txt文件,

用http://patorjk.com/software/taag/#p=display&f=Crazy&t=WZZ

网站生成字符,然后拷贝过去即可


关闭只需要设置

SpringApplication application = new SpringApplication(ZheyueSecurityApplication.class);application.setBannerMode(Banner.Mode.OFF);application.run(args);

0 0