the request path generated by feign of spring cloud does not have IP and port. An error of 404 was reported. You must specify url to access it normally
cannot be accessed according to this code, and the generated request is http:/login/username/pwd,. , the service determines that it has registered with the registry
.@FeignClient(name = "SERVICE-USER")
public interface UserFeign {
@RequestMapping(value = "/login/{userName}/{pwd}",method = RequestMethod.GET)
User doLogin(@PathVariable("userName") String userName, @PathVariable("pwd") String pwd);
}