‘liusuyi’
2023-06-27 3be4440f6800e10efd8db51b957d17a6cc3b39df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.ard.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * @Description:
 * @ClassName: RestTemplateConfig
 * @Author: 刘苏义
 * @Date: 2023年06月14日9:32
 * @Version: 1.0
 **/
@Configuration
public class RestTemplateConfig {
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
 
}