BUG
aijinhui
2024-03-26 0789e8546f8b5e68590e5ad7f4eb1d5c54e6cc22
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();
    }
 
}