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();
|
}
|
}
|