package com.sonic.shark;

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 springfox.documentation.swagger2.annotations.EnableSwagger2;

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