package net.northking.cctp.project.bus.feign;

import io.swagger.annotations.ApiOperation;
import net.northking.cctp.common.db.DefaultPagination;
import net.northking.cctp.common.http.QueryByPage;
import net.northking.cctp.common.http.ResultWrapper;
import net.northking.cctp.project.config.HzFeignConfig;
import net.northking.cctp.project.dto.software.Software;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@FeignClient(contextId = "platformForHzBankFeign",value = "cctp-platform",name = "cctp-platform", path = "/cctp-platform", configuration = {HzFeignConfig.class})
public interface PlatformForHzBankFeign {

    @ApiOperation(value = "查询租户下软件信息供杭州银行查询使用")
    @PostMapping(value = "/pub/query/func/softwareForHzBank")
    ResultWrapper<DefaultPagination<Software>> querySoftwareForHzBank(QueryByPage<Map<String, Object>> query);




}
