From 32e17591ca41ba7b79514f0cb2e2ef6eb3e5a384 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期六, 10 十月 2020 16:45:11 +0800
Subject: [PATCH] 20201010

---
 app/src/main/java/cn/flightfeather/thirdapp/repository/CommonRepository.kt |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/app/src/main/java/cn/flightfeather/thirdapp/repository/CommonRepository.kt b/app/src/main/java/cn/flightfeather/thirdapp/repository/CommonRepository.kt
index b3d7970..86e494b 100644
--- a/app/src/main/java/cn/flightfeather/thirdapp/repository/CommonRepository.kt
+++ b/app/src/main/java/cn/flightfeather/thirdapp/repository/CommonRepository.kt
@@ -28,6 +28,10 @@
             .upLoadCrashInfo(accountName, partList)
             .subscribeOn(Schedulers.io())
             .observeOn(Schedulers.trampoline())
-            .subscribe()
+            .subscribe({
+                resultCallBack.onSuccess(it.body())
+            }, {
+                resultCallBack.onFailure()
+            })
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3