package shop.alien.lawyer;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan({"shop.alien.lawyer.*", "shop.alien.util.*", "shop.alien.config.http", "shop.alien.config.properties"})
@EnableSwaggerBootstrapUI
@MapperScan({"shop.alien.mapper"})
@SpringBootApplication
@EnableFeignClients(basePackages = "shop.alien.lawyer.feign")
public class AlienLawyerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AlienLawyerApplication.class, args);
    }

}
