package com.ard.config;
|
|
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.web.client.RestTemplate;
|
|
/**
|
* @Description:
|
* @ClassName: RestTemplateConfig
|
* @Author: 刘苏义
|
* @Date: 2023年06月14日9:32
|
* @Version: 1.0
|
**/
|
@Configuration
|
public class RestTemplateConfig {
|
@Bean
|
public RestTemplate restTemplate() {
|
return new RestTemplate();
|
}
|
|
}
|