package com.sonic.cow;

import com.sonic.sdk.api.annotation.EnableDecrypt;
import com.sonic.sdk.api.annotation.EnableGatWayAuthScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author chenjun
 */
@EnableSwagger2
@EnableScheduling
@ComponentScan(value = {"com.sonic"})
@SpringBootApplication
@EnableGatWayAuthScan(basePackages = "com.sonic.cow.controller")
@EnableDecrypt
public class MainApplication {
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
