package com.xindazhou.vehicle.framework.rpc.config;

import com.xindazhou.framework.common.biz.system.permission.PermissionCommonApi;
import com.xindazhou.message.api.PushApi;
import com.xindazhou.user.api.user.MemberUserApi;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

/**
 * 车辆服务 RPC 配置类
 *
 * @author xindazhou
 */
@Configuration(value = "vehicleRpcConfiguration", proxyBeanMethods = false)
@EnableFeignClients(
        basePackages = {}, // 不自动扫描，只启用指定的客户端
        clients = {
            MemberUserApi.class, // 用户服务
            PushApi.class, // 消息服务
            PermissionCommonApi.class // 权限服务（用户服务提供）
        }
)
public class RpcConfiguration {
}

