huanghongfa
2021-04-27 cf3b4b7fc95fd5b83cae6842e8c24b99e70068e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.springcloudme.servicetp;
 
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;
 
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients
public class ServiceTpApplication {
 
    public static void main(String[] args) {
        SpringApplication.run(ServiceTpApplication.class, args);
    }
 
}