|
|
@@ -15,6 +15,7 @@ import com.tongyu.luck.happywork.http.ApiObserver;
|
|
|
import com.tongyu.luck.happywork.http.RetrofitHttpParams;
|
|
|
import com.tongyu.luck.happywork.http.exception.ApiException;
|
|
|
import com.tongyu.luck.happywork.http.subscribe.LoginSubscribe;
|
|
|
+import com.tongyu.luck.happywork.ui.activity.BindingPhoneActivity;
|
|
|
import com.tongyu.luck.happywork.ui.activity.MsgVerifyActivity;
|
|
|
import com.tongyu.luck.happywork.ui.base.BaseModel;
|
|
|
import com.tongyu.luck.happywork.ui.mvp.cclient.contacts.BindingPhoneContacts;
|
|
|
@@ -32,7 +33,7 @@ public class BindingPhoneModel extends BaseModel implements BindingPhoneContacts
|
|
|
@Override
|
|
|
public String getOpenId() {
|
|
|
if (TextUtils.isEmpty(openId)) {
|
|
|
- openId = ((MsgVerifyActivity) mContext).getIntent().getStringExtra(IntentConstant.OPENID);
|
|
|
+ openId = ((BindingPhoneActivity) mContext).getIntent().getStringExtra(IntentConstant.OPENID);
|
|
|
}
|
|
|
return openId;
|
|
|
|
|
|
@@ -41,7 +42,7 @@ public class BindingPhoneModel extends BaseModel implements BindingPhoneContacts
|
|
|
@Override
|
|
|
public String getUnionId() {
|
|
|
if (TextUtils.isEmpty(unionId)) {
|
|
|
- unionId = ((MsgVerifyActivity) mContext).getIntent().getStringExtra(IntentConstant.UNIONID);
|
|
|
+ unionId = ((BindingPhoneActivity) mContext).getIntent().getStringExtra(IntentConstant.UNIONID);
|
|
|
}
|
|
|
return unionId;
|
|
|
}
|