|
@@ -3,6 +3,7 @@ package com.steerinfo.dil.feign;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.http.MediaType;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
@@ -791,6 +792,6 @@ public interface TmsshipFeign {
|
|
|
@PostMapping(value = "api/v1/shipTms/amsshipdeliverynotices/downLoadDeilveryNotice")
|
|
|
Map<String, Object> downLoadDeilveryNotice(@RequestParam("noticeId") Integer noticeId);
|
|
|
|
|
|
- @PostMapping(value = "api/v1/shipTms/amsshipdeliverynotices/uploadCargoPic")
|
|
|
+ @PostMapping(value = "api/v1/shipTms/amsshipdeliverynotices/uploadCargoPic" ,consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
String uploadCargoPic(@RequestPart("file") MultipartFile multipartFile);
|
|
|
}
|