cjl
2024-01-25 12448cb6604875e3b3df367e3b132dd1db45bff8
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();
    }
}