Administrator
2023-08-25 7f21d4f22ec711d6aa89900b07e0b5ac31dbac42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ruoyi.framework.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * @ClassName: TemplateConfig
 * @Description:
 * @Author: Administrator
 * @Date: 2023年03月06日 11:30
 * @Version: 1.0
 **/
@Configuration
public class TemplateConfig {
    @Bean
    public RestTemplate restTemplate()
    {
        return new RestTemplate();
    }
 
}