From d0aa81c826a35adac91c0db38d3c98c38d507de1 Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期五, 26 三月 2021 11:03:26 +0800
Subject: [PATCH] no

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/ServiceCommunityApplication.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/ServiceCommunityApplication.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/ServiceCommunityApplication.java
new file mode 100644
index 0000000..b72454e
--- /dev/null
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/ServiceCommunityApplication.java
@@ -0,0 +1,21 @@
+package com.panzhihua.service_community;
+
+import org.springframework.boot.SpringApplication;
+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;
+
+@SpringCloudApplication
+@EnableFeignClients(basePackages = {"com.panzhihua.common.service"})
+@EnableEurekaClient
+@EnableCircuitBreaker
+@ComponentScan({"com.panzhihua.service_community","com.panzhihua.common"})
+public class ServiceCommunityApplication {
+
+    public static void main(String[] args) {
+        SpringApplication.run(ServiceCommunityApplication.class, args);
+    }
+
+}

--
Gitblit v1.7.1