张天森
2022-07-08 c640b18fae716de628b2a2b4d43f6869f3ab83ff
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/ServiceCommunityApplication.java
@@ -6,12 +6,14 @@
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) {