package com.yuchen.saas.integration.feign.api.feign;

import com.yuchen.saas.integration.feign.api.vo.RsjCamera.RscCamQueryResponseVo;
import com.yuchen.saas.integration.feign.api.vo.RsjCamera.RscGroupNodeResponseVo;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.stereotype.Component;

/**
 * @author 肖润飞
 * @date 2022/10/1 14:54
 */
@Component
public class RsjCameraFallback implements RsjCameraClient{


    @Override
    public R<RscGroupNodeResponseVo> groupNodeQuery(String gid) {
        return R.fail("远程调用失败");
    }

    @Override
    public R<RscCamQueryResponseVo> camQueryById(String cid) {
        return R.fail("远程调用失败");
    }
}
