package feign;

import com.github.microservice.app.annotation.EnableApplicationClient;
import com.github.microservice.core.boot.ApplicationBootSuper;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 测试代码的入口
 */

//需要使用此注解，且配置 application.properties


@ComponentScan("feign")
@EnableApplicationClient
@EnableFeignClients("feign.client")
public class FeignDemoApplication extends ApplicationBootSuper {


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

    }


}
