package com.tzld.piaoquan.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@ComponentScan({
        "com.tzld.piaoquan.growth.common.*",
        "com.tzld.piaoquan.offline.*",
        "com.tzld.piaoquan.api.*"
})
@ServletComponentScan("com.tzld.piaoquan.api.filter")
@EnableDiscoveryClient
@EnableFeignClients
public class GrowthServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(GrowthServerApplication.class, args);
    }
}