Result result = feignClient.list();
java.lang.reflect.Type targetListType = new TypeToken<List<Model>>() { }.getType();
List<Model> list = modelMapper.map(result.getData(), targetListType);
Result result = feignClient.list();
java.lang.reflect.Type targetListType = new TypeToken<List<Model>>() { }.getType();
List<Model> list = modelMapper.map(result.getData(), targetListType);
本文标题:springcloud之FeignClient传输List
本文链接:https://www.haomeiwen.com/subject/mhtpaqtx.html
网友评论