package com.nantian.sc.cloud.common.data.tenant;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @date 2018/9/14
 * feign 租户信息拦截
 */
@Configuration
public class ScFeignTenantConfiguration {
	@Bean
	public RequestInterceptor scFeignTenantInterceptor() {
		return new ScFeignTenantInterceptor();
	}
}
