package com.xueyi.message.api.transfer.feign.factory;

import com.xueyi.common.core.web.result.R;
import com.xueyi.message.api.transfer.feign.RemoteTransferService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;


/**
 * 数据源服务降级处理
 *
 * @author xueyi
 */
@Slf4j
@Component
public class RemoteTransferFallbackFactory implements FallbackFactory<RemoteTransferService> {
    @Override
    public RemoteTransferService create(Throwable cause) {
        return null;
    }
}