Home  >  Article  >  Backend Development  >  Retrofit 长传多张图片怎么写?接受端是接受一个图片数组

Retrofit 长传多张图片怎么写?接受端是接受一个图片数组

WBOY
WBOYOriginal
2016-06-06 20:14:521159browse

这是之前上传一张图片的问题 有个大神回答了
https://segmentfault.com/q/1010000004586973?_ea=660227
@Part("image\"; filename=\"image.png\" ") RequestBody image
但是现在要上传多上图片 我怎么试也不行。

回复内容:

这是之前上传一张图片的问题 有个大神回答了
https://segmentfault.com/q/1010000004586973?_ea=660227
@Part("image\"; filename=\"image.png\" ") RequestBody image
但是现在要上传多上图片 我怎么试也不行。

试过@PartMap 没

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn