| package com.dy.pipIrrApp.config; | 
|   | 
| import org.springframework.context.annotation.Bean; | 
| import org.springframework.context.annotation.Configuration; | 
| import org.springframework.web.client.RestTemplate; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-05-07 17:09 | 
|  * @LastEditTime 2024-05-07 17:09 | 
|  * @Description | 
|  */ | 
| @Configuration | 
| public class RestTemplateConfig { | 
|   | 
|     @Bean | 
|     public RestTemplate restTemplate() { | 
|         return new RestTemplate(); | 
|     } | 
|   | 
| } |