cjl
2023-07-27 44251a92dc85a93eff59704b40b07830bde8d16f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.moral.api.config.rest;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
 
@Configuration
public class RestConfig {
 
    @Bean
    public RestTemplate getRestTemplate() {
        return new RestTemplate();
    }
}