package com.dxhy.auth.config;

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

import com.dxhy.auth.interceptor.ClientTokenInterceptor;

import lombok.extern.slf4j.Slf4j;

/**
 * @author jiaohongyang
 * @date 2019年3月26日 下午5:53:50
 *
 */
@Configuration
@Slf4j
public class FeignConfiguration {
    @Bean
    ClientTokenInterceptor getClientTokenInterceptor() {
        return new ClientTokenInterceptor();
    }
}
