Created
November 7, 2020 01:13
-
-
Save haigopi/20976af6872b787fee72833dd60e6e3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface PublisherApi { | |
@RequestMapping(value = "/publisher", method = RequestMethod.POST, consumes = {MediaType.MULTIPART_FORM_DATA_VALUE}) | |
default ResponseEntity<Void> someCreatemethod( | |
@RequestPart("pictuures_1") MultipartFile[] pictures1, | |
@RequestPart("pictures_2") List<MultipartFile> pictures2, @RequestPart("publisher") JavaObject publisher) throws URISyntaxException, Exception { | |
// Debuuger Point. | |
System.out.println(pictures1.length +" -- "+ pictures2.size); | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment