package com.xueyi.modules.auth.api.feign.factory;

import com.xueyi.modules.auth.api.feign.RemoteSkillAuthService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;


/**
 * 数据源服务降级处理
 *
 * @author xueyi
 */
@Slf4j
@Component
public class RemoteSkillAuthFallbackFactory implements FallbackFactory<RemoteSkillAuthService> {

    @Override
    public RemoteSkillAuthService create(Throwable cause) {
        return null;
    }
}