‘liusuyi’
2023-08-18 268c9720677e3a330c9d53c9f4b9f026869e1583
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();
    }
 
}