1 RestTemplate.exchange获取指定对象数组
ResponseEntity<DtoCoin[]> responseEntity = restTemplate.exchange(requestEntity, DtoCoin[].class);
DtoCoin[] dtoCoins = responseEntity.getBody();
2 获取 指定字段coin的 value值List
Set<String> curCoinSet = Arrays.stream(dtoCoins).map(DtoCoin::getCoin).collect(Collectors.toSet());