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