package cn.huge.module.client.api; import cn.huge.base.common.bo.ReturnBO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; import java.util.List; /** * @title: 系统公共服务微服务调用接口 * @description: 系统公共服务微服务调用接口 * @company: hugeinfo * @author: liyj * @time: 2021-11-05 16:51:48 * @version: 1.0.0 */ @FeignClient(name = "dyh-sys") public interface SysClient { /** * 附件中心-根据多个所属编号查询附件并根据先根据ownerId再根据附件类型分组 * @url {ctx}/api/v1/fileInfo/listTypeInfoByOwnerIds?ownerIds= * @param ownerIdList 所属业务编号 * @return ReturnBO */ @GetMapping("/api/client/fileInfo/listIdTypeInfoByOwnerIdList") ReturnBO listTypeInfoByOwnerIdList(@RequestParam(value = "ownerIdList") List ownerIdList); /** * 附件中心-根据多个所属编号查询附件 * @url {ctx}/api/v1/fileInfo/listInfoByOwnerIdList?ownerIds= * @param ownerIdList 所属业务编号 * @return ReturnBO */ @GetMapping("/api/client/fileInfo/listInfoByOwnerIdList") ReturnBO listInfoByOwnerIdList(@RequestParam(value = "ownerIdList") List ownerIdList); }