whyclxw
2024-09-03 7cdda094147a809fe6d6965633d11fd96ead982d
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();
    }
 
}