package com.jxy.common.security.feign;

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

/**
 * @Description fegin 配置注册
 * @Date 2022/5/13 11:33
 * @Author 杜懿
 */
@Configuration
public class FeignAutoConfig {

    @Bean
    public RequestInterceptor requestInterceptor(){return new FeignRequestInterceptor();}

}
