Explorar o código

Feign远程获取用户信息服务名修改

Signed-off-by: yzy <183124902@qq.com>
yzy hai 1 ano
pai
achega
0871b2b9ff

+ 1 - 1
studio/service-api/src/main/java/cn/datax/service/system/api/feign/UserServiceFeign.java

@@ -7,7 +7,7 @@ import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PathVariable;
 
-@FeignClient(contextId = "userServiceFeign", value = "system", fallbackFactory = UserServiceFeignFallbackFactory.class)
+@FeignClient(contextId = "userServiceFeign", value = "service-system", fallbackFactory = UserServiceFeignFallbackFactory.class)
 public interface UserServiceFeign {
     @GetMapping("/api/users/{username}")
     JwtUserDto loginByUsername(@PathVariable("username") String username);