skyouc
2025-09-15 35f92fe6b383057a576fd31c1efe29d735b61215
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();
    }
}