12345678910111213141516171819 |
- package com.zanxiang.sdk.config;
- import org.springframework.context.annotation.Bean;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.web.client.RestTemplate;
- /**
- * @author : lingfeng
- * @time : 2021-08-18
- * @description : redis配置
- */
- @Configuration
- public class RestTemplateConfig {
- @Bean
- public RestTemplate restTemplate() {
- return new RestTemplate();
- }
- }
|