package com.huashe.park.infrastructure.mqtt;

import java.util.Map;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.huashe.park.domain.dto.cons.MqttRequest;

@BaseRequest(baseURL = "{collectMqtt}")
public interface CollectMqttService {
    @Post(url = "/topic/new/topic")
    Map newTopic(@JSONBody MqttRequest request);
}
