package com.cf.imes.framework.web.config;

import com.cf.imes.framework.web.core.rpc.LanguageRequestInterceptor;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * WEB RPC 组件的自动配置
 *
 * @author Gqr
 * @since 2025/11/20 13:55
 */
@AutoConfiguration
public class ChenfengWebRpcAutoConfiguration {
    /**
     * 国际化组件
     *
     * @return
     */
    @Bean
    public LanguageRequestInterceptor languageRequestInterceptor() {
        return new LanguageRequestInterceptor();
    }
}
