package com.zhongshu.card.client.service.feign;

import com.zhongshu.card.client.model.mqtt.SendMessageModel;
import com.github.microservice.net.ResultContent;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(name = "fullcardserver/mqttFeign/manager")
public interface MqttFeignService {

    @Operation(summary = "发送mqtt信息", description = "发送mqtt信息")
    @RequestMapping(value = "sendMessage", method = {RequestMethod.POST})
    ResultContent sendMessage(@RequestBody SendMessageModel param);

}
