1234567891011121314151617181920 |
- package com.zhentao.common;
- import org.springframework.context.annotation.Bean;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.web.client.RestTemplate;
- /**
- * @date: 2025/5/20 11:10
- * @author: ftt
- */
- @Configuration
- public class AppConfig {
- @Bean
- public RestTemplate restTemplate() {
- return new RestTemplate();
- }
- }
|