RestTemplate.exchange返回类型ParameterizedTypeReference中T为复杂类型
ParameterizedType pageType = new ParameterizedTypeImpl(new Type[](Xxx.class}, PageResult.class.getDeclaringClass(), PageResult.class);
ParameterizedType responseType = new ParameterizedTypeImpl(new Type[](pageType}, XxxResponse.class.getDeclaringClass(), XxxResponse.class);
ResponseEntity<XxxResponse<PageResult<Xxx>>> entity = restTemplate.exchange(url, HttpMethod.GET, null, type);