Commit d5fdc06d authored by 赵啸非's avatar 赵啸非

创建初始工程

parent 3c4eedfa
Pipeline #2666 canceled with stages
package com.lilosoft; package com.lilosoft;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner; import org.springframework.boot.Banner;
...@@ -9,28 +10,27 @@ import org.springframework.scheduling.annotation.EnableScheduling; ...@@ -9,28 +10,27 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@EnableScheduling @EnableScheduling
@SpringBootApplication @SpringBootApplication
@Slf4j
public class RdsmsApiApplication { public class RdsmsApiApplication {
private final static Logger logger = LoggerFactory.getLogger(RdsmsApiApplication.class); public static void main(String[] args) {
SpringApplication app = new SpringApplication(RdsmsApiApplication.class);
public static void main(String[] args) {
SpringApplication app = new SpringApplication(RdsmsApiApplication.class);
app.setBannerMode(Banner.Mode.CONSOLE); app.setBannerMode(Banner.Mode.CONSOLE);
app.run(args); app.run(args);
//standard字体生成 //standard字体生成
String str = ""; String str = "";
str= " 88 \n" + str = " 88 \n" +
" \"\" \n" + " \"\" \n" +
",adPPYYba, 8b,dPPYba, 88 \n" + ",adPPYYba, 8b,dPPYba, 88 \n" +
"\"\" `Y8 88P' \"8a 88 \n" + "\"\" `Y8 88P' \"8a 88 \n" +
",adPPPPP88 88 d8 88 \n" + ",adPPPPP88 88 d8 88 \n" +
"88, ,88 88b, ,a8\" 88 \n" + "88, ,88 88b, ,a8\" 88 \n" +
"`\"8bbdP\"Y8 88`YbbdP\"' 88 \n" + "`\"8bbdP\"Y8 88`YbbdP\"' 88 \n" +
" 88 \n" + " 88 \n" +
" 88 \n"; " 88 \n";
logger.info("ヾ(@°^°@)ヾ 启动成功 ヾ(@°^°@)ヾ\n" +str); log.info("ヾ(@°^°@)ヾ 启动成功 ヾ(@°^°@)ヾ\n" + str);
logger.info("ApiApplication is success!"); log.info("ApiApplication is success!");
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment