Commit 38c88362a3698256fa46fabd4c0c8261c6662758
1 parent
e92104a6
Exists in
yxb_dev
and in
2 other branches
no message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/src/main/java/com/shunzhi/parent/presenter/mine/MyChildPresenter.java
1 | package com.shunzhi.parent.presenter.mine; | 1 | package com.shunzhi.parent.presenter.mine; |
2 | 2 | ||
3 | -import android.util.Log; | ||
4 | - | ||
5 | import com.google.gson.JsonObject; | 3 | import com.google.gson.JsonObject; |
6 | import com.share.mvpsdk.utils.OkHttpExceptionUtil; | 4 | import com.share.mvpsdk.utils.OkHttpExceptionUtil; |
7 | import com.share.mvpsdk.utils.ToastUtils; | 5 | import com.share.mvpsdk.utils.ToastUtils; |
6 | +import com.shunzhi.parent.AppConfig; | ||
8 | import com.shunzhi.parent.bean.ChildClass; | 7 | import com.shunzhi.parent.bean.ChildClass; |
9 | import com.shunzhi.parent.bean.CurrentBean; | 8 | import com.shunzhi.parent.bean.CurrentBean; |
10 | import com.shunzhi.parent.bean.GradeBean; | 9 | import com.shunzhi.parent.bean.GradeBean; |
@@ -71,6 +70,7 @@ public class MyChildPresenter extends MyChildContract.MyChildPresenter { | @@ -71,6 +70,7 @@ public class MyChildPresenter extends MyChildContract.MyChildPresenter { | ||
71 | @Override | 70 | @Override |
72 | public void accept(JsonObject jsonObject) throws Exception { | 71 | public void accept(JsonObject jsonObject) throws Exception { |
73 | ToastUtils.showToast("绑定孩子成功"); | 72 | ToastUtils.showToast("绑定孩子成功"); |
73 | + AppConfig.ISBINDING=true; | ||
74 | if (jsonObject.get("data").toString().equals("null")) { | 74 | if (jsonObject.get("data").toString().equals("null")) { |
75 | mIView.addChildSuccess("", ""); | 75 | mIView.addChildSuccess("", ""); |
76 | } else { | 76 | } else { |