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 | 1 | package com.shunzhi.parent.presenter.mine; |
| 2 | 2 | |
| 3 | -import android.util.Log; | |
| 4 | - | |
| 5 | 3 | import com.google.gson.JsonObject; |
| 6 | 4 | import com.share.mvpsdk.utils.OkHttpExceptionUtil; |
| 7 | 5 | import com.share.mvpsdk.utils.ToastUtils; |
| 6 | +import com.shunzhi.parent.AppConfig; | |
| 8 | 7 | import com.shunzhi.parent.bean.ChildClass; |
| 9 | 8 | import com.shunzhi.parent.bean.CurrentBean; |
| 10 | 9 | import com.shunzhi.parent.bean.GradeBean; |
| ... | ... | @@ -71,6 +70,7 @@ public class MyChildPresenter extends MyChildContract.MyChildPresenter { |
| 71 | 70 | @Override |
| 72 | 71 | public void accept(JsonObject jsonObject) throws Exception { |
| 73 | 72 | ToastUtils.showToast("绑定孩子成功"); |
| 73 | + AppConfig.ISBINDING=true; | |
| 74 | 74 | if (jsonObject.get("data").toString().equals("null")) { |
| 75 | 75 | mIView.addChildSuccess("", ""); |
| 76 | 76 | } else { | ... | ... |