33 lines
1.3 KiB
Java
Raw Normal View History

2021-07-21 18:07:56 +08:00
package com.xhpc.general;
2021-07-20 21:07:11 +08:00
2021-07-28 18:07:25 +08:00
import com.xhpc.common.security.annotation.EnableCustomConfig;
import com.xhpc.common.security.annotation.EnableRyFeignClients;
import com.xhpc.common.swagger.annotation.EnableCustomSwagger2;
2021-07-20 21:07:11 +08:00
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
2021-07-21 18:07:56 +08:00
@MapperScan("com.xhpc.general.mapper")
public class XhpcGeneralApplication {
2021-07-20 21:07:11 +08:00
2021-07-21 18:07:56 +08:00
public static void main(String[] args) {
2021-07-20 21:07:11 +08:00
2021-07-21 18:07:56 +08:00
SpringApplication.run(XhpcGeneralApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 通用模块启动成功 ლ(´ڡ`ლ)゙ \n" +
2021-07-20 21:07:11 +08:00
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +
" |(_ o _) / _( )_ .' \n" +
" | (_,_).' __ ___(_ o _)' \n" +
" | |\\ \\ | || |(_,_)' \n" +
" | | \\ `' /| `-' / \n" +
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
}
}