fuliqi
2024-09-17 e13b129c300d3eff2ba555d0c41bbccbaab1014a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.ycl.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * @author xp
 * @date 2022/11/16
 */
@Configuration
public class RestTemplateConfig {
 
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
 
}