package org.springblade.device.feign;

import io.swagger.annotations.ApiParam;
import org.springblade.common.constant.Instruct;
import org.springblade.device.dto.DispatchTask;
import org.springblade.device.dto.MsgPublishDto;
import org.springblade.device.entity.DoorDevice;
import org.springblade.device.vo.DoorDeviceVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import java.util.List;
import java.util.Map;

/**
 *  Feign
 *
 * @author lianghanqiang
 * @since 2021-04-19
 */
@FeignClient(value = "cyzh-smart-device",path = "/feign/msgPublish")
public interface IMsgPublishClient {

	@PostMapping("/publish")
	void publish(@RequestBody MsgPublishDto msgPublishDto);



	@PostMapping("/publishJVT")
	public void publishJVT(@RequestBody MsgPublishDto msgPublishDto);
}
