@FeignClient("APP-PROVIDER")
public interface MyFeignClient {
@RequestMapping(value = "/user/{id}", method = RequestMethod.GET)
public User getUser(@PathVariable("id") Long id);
}
@FeignClient
猜你喜欢
转载自www.cnblogs.com/liuys635/p/10548580.html
今日推荐
周排行