 package org.sky.system.feign;

 import org.sky.core.tool.api.R;
 import org.sky.system.pojo.entity.DictBiz;
 import org.springframework.stereotype.Component;

 import java.util.List;

/**
 * Feign失败配置
 *
  */
@Component
public class IDictBizClientFallback implements IDictBizClient {
	@Override
	public R<DictBiz> getById(Long id) {
		return R.fail("获取数据失败");
	}

	@Override
	public R<String> getValue(String code, String dictKey) {
		return R.fail("获取数据失败");
	}

	@Override
	public R<List<DictBiz>> getList(String code) {
		return R.fail("获取数据失败");
	}
}
