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

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

WBOY
Release: 2016-06-06 20:14:52
Original
1177 people have browsed it

这是之前上传一张图片的问题 有个大神回答了
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 没

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template