package com.xjrsoft.module.prdManage.client;

import com.xjrsoft.common.constant.GlobalConstant;
import com.xjrsoft.module.prdManage.dto.DemoAppliancePageDto;
import com.xjrsoft.module.prdManage.vo.DemoApplianceVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: yjw
 * @since: 2025/3/4
 */
@FeignClient(value = "demo-service",
        path = GlobalConstant.CLIENT_API_PRE + "prdManage/demoAppliance")
public interface IDemoApplianceClient {

    @PostMapping("/getListByQuery")
    List<DemoApplianceVo> getListByQuery(@RequestBody DemoAppliancePageDto dto);
}
