提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm; |
懒 |
2 |
|
04b8ef
|
3 |
import org.slf4j.Logger; |
Y |
4 |
import org.slf4j.LoggerFactory; |
fd2207
|
5 |
import org.springframework.boot.SpringApplication; |
懒 |
6 |
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
7 |
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
059083
|
8 |
import org.springframework.boot.web.servlet.ServletComponentScan; |
W |
9 |
import org.springframework.scheduling.annotation.EnableScheduling; |
fd2207
|
10 |
|
懒 |
11 |
/** |
|
12 |
* 启动程序 |
|
13 |
* |
|
14 |
* @author jc |
|
15 |
*/ |
|
16 |
|
|
17 |
|
059083
|
18 |
@EnableScheduling //定时任务 |
W |
19 |
@ServletComponentScan //webSocket |
fd2207
|
20 |
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) |
懒 |
21 |
public class MesApplication |
|
22 |
{ |
|
23 |
public static void main(String[] args) |
|
24 |
{ |
|
25 |
// System.setProperty("spring.devtools.restart.enabled", "false"); |
|
26 |
SpringApplication.run(MesApplication.class, args); |
0899ce
|
27 |
System.out.println("(♥◠‿◠)ノ゙ 系统启动成功 ლ(´ڡ`ლ)゙ \n" + |
J |
28 |
" .-./`) _______ ______ ,---. ,---. \n"+ |
|
29 |
" '_ .') / __ | _ `''. | > < | \n"+ |
|
30 |
" (_ (_) _) | ,_/ __) | _ | ) _ | , >< , | \n"+ |
|
31 |
" / . ,-./ ) |( ''_' ) || | _ /| | \n"+ |
|
32 |
" ___ |-'`| > '_ '`) | . (_) `. || _( )_/ | | \n"+ |
|
33 |
"| | | ' > (_) ) __ |(_ ._) '| (_ o _) | | \n"+ |
|
34 |
"| `-' / ( . .-'_/ )| (_. .' / | (_,_) | | \n"+ |
|
35 |
" / `-'`-' / | .' | | | | \n"+ |
|
36 |
" `-..-' `._____.' '-----'` '--' '--' \n" |
|
37 |
|
|
38 |
); |
fd2207
|
39 |
} |
懒 |
40 |
} |