chen.lin
2 天以前 bb4f5dc6bbf43616ca3482257b576c9c66c49ff5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.vincent.rsf.openApi.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * @author Ryan
 * @date 2025/8/27
 * @description: 初始化RestTemplage
 * @version 1.0
 */
@Configuration
public class RestTemplateConfig {
 
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}