使用RestTemplate.postForObject方法远程调用接口,返回的时候会自动转成LinkedHashMap,此时如果想讲返回转换为java bean,会造成ClassCastException类型转换异常使用RestTemplate.postForObject方法远程调用接口,返回的时候会自动转成
使用RestTemplate.postForObject方法远程调用接口,返回的时候会自动转成LinkedHashMap,此时如果想讲返回转换为java bean,会造成ClassCastException类型转换异常使用RestTemplate.postForObject方法远程调用接口,返回的时候会自动转成