You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
447 B
22 lines
447 B
package com.mh.user.config; |
|
|
|
import org.springframework.context.annotation.Bean; |
|
import org.springframework.context.annotation.Configuration; |
|
import org.springframework.web.client.RestTemplate; |
|
|
|
/** |
|
* @author LJF |
|
* @title : |
|
* @description 请求数据 |
|
* @updateTime 2020-08-20 |
|
* @throws : |
|
*/ |
|
@Configuration |
|
public class RestTemplateConfig { |
|
|
|
@Bean |
|
public RestTemplate restTemplate() { |
|
return new RestTemplate(); |
|
} |
|
|
|
}
|
|
|