SpringBootKwanApplication.java 723 字节
Newer Older
Q
qinyingjie 已提交
1
package com.kwan.springbootkwan;
2

Q
qinyingjie 已提交
3
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
Q
qinyingjie 已提交
4 5
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Q
qinyingjie 已提交
6
import org.springframework.scheduling.annotation.EnableScheduling;
7
import springfox.documentation.swagger2.annotations.EnableSwagger2;
Q
qinyingjie 已提交
8

9
@EnableSwagger2
Q
qinyingjie 已提交
10
@EnableScheduling
Q
qinyingjie 已提交
11
@EnableBatchProcessing
12
@SpringBootApplication
Q
qinyingjie 已提交
13 14 15 16
public class SpringBootKwanApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootKwanApplication.class, args);
17
        System.out.println("------------------SpringBootKwan应用启动成功--------------------");
Q
qinyingjie 已提交
18 19
    }
}