jinpengyong
2021-11-03 267c20d552dbce24bce0a0d59a106f49f879ab62
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();
    }
}