guoyujie
2025-11-26 71f90ed3a2eeea97b20cd095cc34a1f64dac5c81
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();
    }
}