package com.zjrs.zwnw.zj.bpo;

import org.mohrss.leaf.core.framework.web.controller.AjaxResponse;
import com.zjrs.zwnw.zj.util.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

@Service
@FeignClient(name="ZJRS-WJFW-SERVICE",configuration= FeignConfig.class)
public interface WjfwFeignClientBPO {
    @PostMapping(value = "/api/store/putObject?business=business1",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    public AjaxResponse putObject(@RequestPart("file") MultipartFile file);
}
