From e4ba945648d4cfc089a7a584b779983f193f50f3 Mon Sep 17 00:00:00 2001 From: jianjun Date: Mon, 10 Jan 2022 12:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=8C=97=E7=99=BB=E9=99=862?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/auth/feign/EpmetAuthOpenFeignClient.java | 4 ++-- epmet-gateway/pom.xml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/epmet-auth-client/src/main/java/com/epmet/auth/feign/EpmetAuthOpenFeignClient.java b/epmet-auth-client/src/main/java/com/epmet/auth/feign/EpmetAuthOpenFeignClient.java index 42ba7fb3bb..6a510ffcd8 100644 --- a/epmet-auth-client/src/main/java/com/epmet/auth/feign/EpmetAuthOpenFeignClient.java +++ b/epmet-auth-client/src/main/java/com/epmet/auth/feign/EpmetAuthOpenFeignClient.java @@ -14,8 +14,8 @@ import org.springframework.web.bind.annotation.RequestParam; * @author yinzuomei@elink-cn.com * @date 2020/6/4 13:25 */ -//@FeignClient(name = ServiceConstant.EPMET_AUTH_SERVER, fallbackFactory = EpmetAuthOpenFeignClientFallbackFactory.class) -@FeignClient(name = ServiceConstant.EPMET_AUTH_SERVER, fallbackFactory = EpmetAuthOpenFeignClientFallbackFactory.class, url = "http://localhost:8081") +@FeignClient(name = ServiceConstant.EPMET_AUTH_SERVER, fallbackFactory = EpmetAuthOpenFeignClientFallbackFactory.class) +//@FeignClient(name = ServiceConstant.EPMET_AUTH_SERVER, fallbackFactory = EpmetAuthOpenFeignClientFallbackFactory.class, url = "http://localhost:8081") public interface EpmetAuthOpenFeignClient { /** diff --git a/epmet-gateway/pom.xml b/epmet-gateway/pom.xml index f0833bc954..2f3c1d3e07 100644 --- a/epmet-gateway/pom.xml +++ b/epmet-gateway/pom.xml @@ -135,8 +135,8 @@ - http://localhost:8081 - + + lb://epmet-auth-server lb://epmet-admin-server @@ -272,8 +272,8 @@ false - http://localhost:8081 - + + lb://epmet-auth-server lb://epmet-admin-server