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,10 +10,9 @@ import org.springframework.scheduling.annotation.EnableScheduling; ...@@ -9,10 +10,9 @@ 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) { public static void main(String[] args) {
SpringApplication app = new SpringApplication(RdsmsApiApplication.class); SpringApplication app = new SpringApplication(RdsmsApiApplication.class);
app.setBannerMode(Banner.Mode.CONSOLE); app.setBannerMode(Banner.Mode.CONSOLE);
...@@ -20,7 +20,7 @@ public class RdsmsApiApplication { ...@@ -20,7 +20,7 @@ public class RdsmsApiApplication {
//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" +
...@@ -30,7 +30,7 @@ public class RdsmsApiApplication { ...@@ -30,7 +30,7 @@ public class RdsmsApiApplication {
" 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