jinpengyong
2021-09-10 3cda5b8c0618bcf4d81c0792e25563f77fa71d24
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();
    }
}