Retrofit 请求List参数

PUT 

@PUT(Url.submitClear+"{id}")
@FormUrlEncoded
Call<ResponseBody> getSubmitClear(@Header("Authorization") String authorization, @Path("id") String id, @Field("parameter []")List<PictureBean> parameter );//parameter 请求参数

POST

@FormUrlEncoded
@POST("matter/app-config")
Flowable<JsonResponse> toolsConfig(@Field("parameter []")  List<String> parameter );

猜你喜欢

转载自blog.csdn.net/dubo_csdn/article/details/84592377
今日推荐