package com.unis.base.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(basePackages = "com.unis")
@EnableDiscoveryClient
@ComponentScan("com.unis")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class BaseApp {
    public static void main(String[] args) {
        SpringApplication.run(BaseApp.class, args);
        System.out.println("-----------------------------启动成功--------------------------");
    }
}