|
|
@@ -12,6 +12,7 @@ import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.presenter.CommitWxMakeMoneyContract;
|
|
|
import com.sheep.gamegroup.presenter.CommitWxMakeMoneyPresenter;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
+import com.sheep.gamegroup.util.StringUtils;
|
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
@@ -45,7 +46,9 @@ public class CommitWxAct extends BaseActivity implements CommitWxMakeMoneyContra
|
|
|
String account = et_wx_account.getText().toString();
|
|
|
String password = et_wx_pwd.getText().toString();
|
|
|
if(TextUtils.isEmpty(account)){
|
|
|
- G.showToast("微信账号不能为空");
|
|
|
+ G.showToast("手机号不能为空");
|
|
|
+ } else if(!StringUtils.isMobile(account)){
|
|
|
+ G.showToast("请输入正确的手机号");
|
|
|
} else if(TextUtils.isEmpty(password)){
|
|
|
G.showToast("微信密码不能为空");
|
|
|
} else if(presenter != null) {
|