|  |  |  | 
|---|
|  |  |  | import org.springframework.cloud.client.SpringCloudApplication; | 
|---|
|  |  |  | import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; | 
|---|
|  |  |  | import org.springframework.cloud.netflix.eureka.EnableEurekaClient; | 
|---|
|  |  |  | import org.springframework.cloud.openfeign.EnableFeignClients; | 
|---|
|  |  |  | import org.springframework.context.annotation.ComponentScan; | 
|---|
|  |  |  | import org.springframework.scheduling.annotation.EnableScheduling; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @SpringCloudApplication | 
|---|
|  |  |  | @EnableFeignClients(basePackages = {"com.panzhihua.common.service"}) | 
|---|
|  |  |  | @EnableEurekaClient | 
|---|
|  |  |  | @EnableCircuitBreaker | 
|---|
|  |  |  | @ComponentScan({"com.panzhihua.service_community","com.panzhihua.common"}) | 
|---|
|  |  |  | @ComponentScan({"com.panzhihua.service_community", "com.panzhihua.common"}) | 
|---|
|  |  |  | @EnableScheduling | 
|---|
|  |  |  | public class ServiceCommunityApplication { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static void main(String[] args) { | 
|---|