From be1b60a1bfc1a4e29053d82c90e2036f9a5817a1 Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期日, 24 一月 2021 09:31:55 +0800 Subject: [PATCH] test --- springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/AuthApplication.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/AuthApplication.java b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/AuthApplication.java index debaa9f..963848b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/AuthApplication.java +++ b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/AuthApplication.java @@ -5,11 +5,13 @@ 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"}) @EnableCircuitBreaker @EnableEurekaClient +@ComponentScan({"com.panzhihua.auth","com.panzhihua.common"}) public class AuthApplication { public static void main(String[] args) { -- Gitblit v1.7.1