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.SysExcelClientFallbackFactory;
import com.njcn.harmonic.pojo.po.excel.SysExcel;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

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

public interface SysExcelFeignClient {

    @PostMapping("/querySysExcel")
    @ApiOperation("查询")
    HttpResult<List<SysExcel>> querySysExcel();

}
