package com.sptg.device.api.feigns;

import com.sptg.common.core.beans.ResultBean;
import com.sptg.device.api.entity.InstructPublishLogDustbin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 */
@FeignClient(value = "smart-house-device")
public interface InstructPublishLogDustbinFeign {

    @PostMapping("/logDustbin/insert")
    ResultBean<Boolean> insertLogDustbin(InstructPublishLogDustbin instructPublishLogDustbin);

    @PostMapping("/logDustbin/insert/list")
    ResultBean<Boolean> insertLogDustbinList(List<InstructPublishLogDustbin> logDustbins);

}
