Commit 00aa6f19 by sikang

bug gi

parent 7327e707
......@@ -265,7 +265,7 @@ public class UploadPresenter extends BasePresenter<UploadApi> {
List<Observable<ResponseBody>> infoList = new ArrayList<>(strings.size());
//每种数据一个请求
for (String info : strings) {
infoList.add(getApiService().uploadContact(new UploadCollectionBean(AppInfoUtils.getAndroidID(context), LoginManager.get().getMobile(), info));
infoList.add(getApiService().uploadContact(new UploadCollectionBean(AppInfoUtils.getAndroidID(context), LoginManager.get().getMobile(), info)));
}
//开始上传,只上传一次,失败了忽略
handleRequest(action, Observable.zip(infoList, objects -> true));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment