package com.njcn.csharmonic.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.csharmonic.api.fallback.SysExcelRelationClientFallbackFactory;
import com.njcn.harmonic.common.pojo.vo.ReportTemplateVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author xy
 */
@FeignClient(value = ServerInfo.CS_HARMONIC_BOOT, path = "/sysExcelRelation", fallbackFactory = SysExcelRelationClientFallbackFactory.class,contextId = "sysExcelRelation")

public interface SysExcelRelationFeignClient {

    @PostMapping("/queryList")
    HttpResult<List<ReportTemplateVO>> queryList(@RequestParam("id") String id);

}
