zhangzeli
5 天以前 7a8a994feafb8ef8333a9590bd637630c42609d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.by4cloud.platform.processing;
 
import com.by4cloud.platform.common.feign.annotation.EnablePlatformFeignClients;
import com.by4cloud.platform.common.job.annotation.EnablePlatformXxlJob;
import com.by4cloud.platform.common.security.annotation.EnablePlatformResourceServer;
import com.by4cloud.platform.common.swagger.annotation.EnablePlatformSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
 
@EnablePlatformSwagger2
@EnablePlatformFeignClients
@EnableDiscoveryClient
@EnablePlatformResourceServer
@SpringBootApplication
@EnableTransactionManagement
@EnablePlatformXxlJob
@EntityScan("com.by4cloud.platform.processing.entity")
public class ProcessingApp {
 
    public static void main(String[] args) {
        SpringApplication.run(ProcessingApp.class, args);
    }
 
}