skyouc
18 小时以前 299cd2a4b79f32f9e1b55997e48bbe7e598c2d3f
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();
    }
}