whyclxw
2024-09-03 ca46c59e66ab37c12d4770f46aff8c631743f28c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.whyc.config;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
@Configuration
public class HttpConifg {
 
    @Bean
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }
 
}