package org.security.ht.feign.basic;

import org.security.ht.entity.basic.Department;
import org.springblade.core.tool.api.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ：wzf
 * @apiNote ：Department 微服务掉用服务熔断
 * @since ：Created in 2022/9/19 11:41
 */
@Component
public class DepartmentClientFallback implements IDepartmentClient{
	@Override
	public R saveData(List<Department> departmentList) {
		return R.fail("保存Department-机构信息服务远程调用失败");
	}
}
