需求 如何直接java程序直接请求另外一个web网址 使用RestTemplate模板对象进行访问 public static void main(String[] args) { RestTemplate restTemplate = new RestTemplate(); String url = "http://localhost:6080/risk/center/find?pageNum=1&pageSize=50"; // 发送GET请求 ResponseEntity<String> response = restT