package com.huashe.park.infrastructure.mqtt;

import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.DataFile;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.http.ForestResponse;

@BaseRequest(baseURL = "http://127.0.0.1:18080")
public interface CADService {
    @Post(url = "/upload",headers = {"Accept: */*"})
    ForestResponse<Map> newTopic(@DataFile(value = "dwg_file") MultipartFile file);
}
