|
@@ -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);
|