package com.m2pool.common.security.feign;

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

/**
 * @Description fegin 配置注册
 * @Date 2024/6/13 20:33
 * @Author dy
 */
@Configuration
public class FeignAutoConfig {

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

}
