huangjiayang
2025-04-29 d4d5f196cc42ef8cfe739de6ecd40f2d21a96e31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.aps.common.security.feign;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import feign.RequestInterceptor;
 
/**
 * Feign 配置注册
 *
 * @author ruoyi
 **/
@Configuration
public class FeignAutoConfiguration
{
    @Bean
    public RequestInterceptor requestInterceptor()
    {
        return new FeignRequestInterceptor();
    }
}