21 lines
424 B
Java
21 lines
424 B
Java
package com.unisinsight.project.config;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
/**
|
|
* @description:
|
|
* @author: rdpnr_puzhi
|
|
* @create: 2025/08/12
|
|
*/
|
|
|
|
@Configuration
|
|
public class RestTemplateConfig {
|
|
|
|
@Bean
|
|
public RestTemplate restTemplate() {
|
|
return new RestTemplate();
|
|
}
|
|
}
|