commit | author | age
|
9bcb19
|
1 |
package vip.xiaonuo; |
I |
2 |
|
|
3 |
import cn.hutool.log.Log; |
|
4 |
import org.springframework.boot.SpringApplication; |
|
5 |
import org.springframework.boot.autoconfigure.SpringBootApplication; |
7fe1bd
|
6 |
import org.springframework.scheduling.annotation.EnableAsync; |
9bcb19
|
7 |
|
I |
8 |
/** |
|
9 |
* SpringBoot方式启动类 |
|
10 |
* |
|
11 |
* @author yubaoshan |
|
12 |
* @date 2017/5/21 12:06 |
|
13 |
*/ |
|
14 |
@SpringBootApplication |
7fe1bd
|
15 |
@EnableAsync |
9bcb19
|
16 |
public class SnowyApplication { |
I |
17 |
|
|
18 |
private static final Log log = Log.get(); |
|
19 |
|
|
20 |
public static void main(String[] args) { |
|
21 |
SpringApplication.run(SnowyApplication.class, args); |
|
22 |
log.info(">>> " + SnowyApplication.class.getSimpleName() + " is success!"); |
|
23 |
} |
|
24 |
|
|
25 |
} |