Comments (4)
params.put("projectManager[]", toRequestBody(pm1));
params.put("projectManager[]", toRequestBody(pm2));
params.put("projectManager[]", toRequestBody(pm3));
from hackretrofit.
@Multipart
@POST("publicService.do?action=submitBriberyInvestigation&dataType=mobile&ecafeNotRedirect=true")
Observable<CommitResult> submitBriberyInvestigation(@Query("ecafeToken") String ecafeToken, @PartMap Map<String, RequestBody> map,
@PartMap Map<String, RequestBody[]> pmap);
// @PartMap Map<String, String[]> pMap);
// ,@PartMap Map<String, String[]> projectManagerId);
@POST("publicService.do?action=submitBriberyInvestigation&dataType=mobile&ecafeNotRedirect=true")
Observable<CommitResult> submitBriberyInvestigation(@Query("ecafeToken") String ecafeToken,@Body DocSurveyActivityFragment.DetailDto data);
试了都不行。。基本是服务端接收为空,要么就是解析不了
from hackretrofit.
时间有点儿久了我有点儿不太记得了,看你的意思是想要在一个参数当中提交一个 RequestBody数组?你确定下这个Retrofit能支持么?最近没有太多时间,暂时没空细看这块儿的源码了,建议你检查一下吧,看上去不是很复杂,就是用法问题。
from hackretrofit.
如果有问题可以发邮件联系我哈,也可以随时重新打开这个 issue ~我先关掉这个了
from hackretrofit.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hackretrofit.