当前位置: 代码迷 >> 综合 >> springboot主函数启动打印美女字符图案
  详细解决方案

springboot主函数启动打印美女字符图案

热度:96   发布时间:2023-10-31 07:14:28.0

 在项目里别人那扒的,加了两个点(点睛之笔)

package com.example.training;import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;@SpringBootApplication
public class TrainingApplication {public static void main(String[] args) {SpringApplication.run(TrainingApplication.class, args);System.out.println("*******************************************\n" +"*                                         *\n" +"*******************************************\n" +"           _.._        ,-------------------.\n" +"        ,'      `.    ( 启动成功!)\n" +"       /  __) __` \\    `-,-----------------'\n" +"      (  (`-`(-')  ) _.-'\n" +"      /)  \\  = /  (\n" +"     /'    |--' .  \\\n" +"    (  ,---|  `-.)__`\n" +"     )(  `-.,--'   _`-.\n" +"    '/,'          (  Uu\",\n" +"     (  @       ,    `/,-' )\n" +"     `.__,  : @  /  /`--'\n" +"       |     `--'  |\n" +"       `   `-._   /\n" +"        \\        (\n" +"        /\\ .      \\. \n" +"       / |` \\     ,-\\\n" +"      /  \\| .)   /   \\\n" +"     ( ,'|\\    ,'     :\n" +"     | \\,`.`--\"/      }\n" +"     `,'    \\  |,'    /\n" +"    / \"-._   `-/      |\n" +"    \"-.   \"-.,'|     ;\n" +"   /        _/[\"---'\"\"]\n" +"  :        /  |\"-     '\n" +"  '           |      /\n" +"              `      |");}}