|  | @@ -6,10 +6,9 @@ import com.xunmei.common.swagger.annotation.EnableCustomSwagger2;
 | 
	
		
			
				|  |  |  import org.springframework.boot.SpringApplication;
 | 
	
		
			
				|  |  |  import org.springframework.boot.autoconfigure.SpringBootApplication;
 | 
	
		
			
				|  |  |  import org.springframework.cloud.context.config.annotation.RefreshScope;
 | 
	
		
			
				|  |  | +import org.springframework.context.annotation.Bean;
 | 
	
		
			
				|  |  |  import org.springframework.scheduling.annotation.EnableAsync;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import java.text.SimpleDateFormat;
 | 
	
		
			
				|  |  | -import java.util.Calendar;
 | 
	
		
			
				|  |  | +import org.springframework.web.client.RestTemplate;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * 系统模块
 | 
	
	
		
			
				|  | @@ -30,4 +29,8 @@ public class SocSystemApplication
 | 
	
		
			
				|  |  |          System.out.println("(♥◠‿◠)ノ゙  系统模块启动成功   ლ(´ڡ`ლ)゙  ");
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @Bean
 | 
	
		
			
				|  |  | +    public RestTemplate restTemplate(){
 | 
	
		
			
				|  |  | +        return new RestTemplate();
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |