skyouc
3 天以前 d2e0994f67495fd436a2e8ad02cb7e4a7e53fe0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.vincent.rsf.server.api.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
/**
 * @author Ryan
 * @version 1.0
 * @title RestTemplateConfig
 * @description
 * @create 2025/3/7 10:01
 */
 
@Configuration
public class RestTemplateConfig {
 
    @Bean
    public RestTemplate getInstant() {
        return  new RestTemplate();
    }
}