Spring Cloud OpenFeign 备忘 问题: 解决: @FeignClient(name="service1",url="http://localhost:8080/") class UserAPI { @GetMapping("/ocm/user") void getUser(); } @FeignClient(name="service1",url="http://localhost:8080/") class ProfileAPI { @GetMapping("/ocm/profile") void getUser(); } 12345678910111213 @FeignClient(name="service1",url="http://localhost:8080/")class UserAPI { @GetMapping("/ocm/user") void getUser(); } @FeignClient(name="service1",url="http://localhost:8080/")class ProfileAPI { @GetMapping("/ocm/profile") void getUser(); } … Read More