package com.sptg.video.cloud.api.feigns;

/**
 * @author zwx
 * @create 2020/10/16 18:15
 */

import com.sptg.video.cloud.api.entity.SysParams;
import com.sptg.video.cloud.api.feigns.fallback.SysParamsFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "smart-house-video-cloud", fallbackFactory = SysParamsFeignFallbackFactory.class)
public interface SysParamsFeign {

    /**
     * 功能描述:根据Id查找系统对接配置
     * @param id 必填
     * @return Device
     *
     *
     */
    @GetMapping(value = "/vcSysParams/findSysParamsById/{id}")
    SysParams findSysParamsById(@PathVariable(value = "id") Long id);

}
