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