package com.inspect.fegin;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("http://199.199.199.169:22508")
public interface FeignMinioService {
    @PostMapping(value = "/minio/file/upload", consumes = "multipart/form-data")
    UploadResponse uploadFileToMinio(@RequestPart("file") MultipartFile file);
}
