于杰
1 天以前 8052785b8f8c423b3ba62b2c546d628b801b18dc
north-glass-erp/src/main/java/com/example/erp/config/AppConfig.java
New file
@@ -0,0 +1,13 @@
package com.example.erp.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
@Configuration
public class AppConfig {
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}