Open yzhatsy opened 5 years ago
这个要用HttpParams类来对参数进行封装的, HttpParams httpParams = new HttpParams(); httpParams .put("userId","1"); httpParams .put("orderNo",orderNo); httpParams .put("platformId",checked_platform_id); // file = new File(...); httpParams .put("img", new HttpParams.FileWrapper(file, file.getName(), MediaType.parse("image/png")));
OkGo.
OkGo.<ResultBean