配置一个RestTemplate的bean,说明:RestTemplate是spring-web自带的,我们不需要额外引入什么包 @Configurationpublic class RestTemplateConfig { /** * 构建支持忽略自签名....