Commit 17253cf4 by sikang

bug fix 埋点

parent 4138bde8
...@@ -223,7 +223,7 @@ public class UserPresenter extends BasePresenter<UserApi> { ...@@ -223,7 +223,7 @@ public class UserPresenter extends BasePresenter<UserApi> {
* 活动中心数据 * 活动中心数据
*/ */
public void trackEvent(String type, String action, String event) { public void trackEvent(String type, String action, String event) {
apiService.trackEvent("system", "api", event) apiService.trackEvent(type, action, event)
.subscribeOn(Schedulers.io()) .subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe(new HttpObserver<ResponseBody>() { .subscribe(new HttpObserver<ResponseBody>() {
......
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