package com.nbport.zgwl.contractpush.config;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 推送模块基础配置
 */
@Configuration
@EnableConfigurationProperties(ContractPushProperties.class)
public class ContractPushConfiguration {

    @Bean
    public RestTemplate contractPushRestTemplate() {
        return new RestTemplate();
    }
}
