/** 注册信息的判断 请求注册 */
  private void onJudge() {
    if (TextUtils.isEmpty(register_phone.getText().toString())
        || TextUtils.isEmpty(register_pass.getText().toString())
        || TextUtils.isEmpty(inputCode.getText().toString())) {
      showSmartToast(R.string.input_error, Toast.LENGTH_LONG);
      return;
    }
    if (!register_phone.getText().toString().equalsIgnoreCase(phone)) {
      SmartToast.showText(mActivity, "手机号不一致,请重新获取验证码!");
      return;
    }
    if (!register_passAgain.getText().toString().equals(register_pass.getText().toString())) {
      showSmartToast(R.string.pass_errors, Toast.LENGTH_LONG);
      return;
    }
    if (register_pass.getText().toString().length() < 6
        || register_pass.getText().toString().length() > 16) {
      showSmartToast(R.string.pass_error2, Toast.LENGTH_LONG);
      return;
    }

    if (!box.isChecked()) {
      SmartToast.showText(mActivity, "请同意协议");
      return;
    }
    if (verifyCode == null
        || !verifyCode.getMsgCode().equalsIgnoreCase(inputCode.getText().toString())) {
      toasetUtil.showInfo("请输入正确的验证码!");
      return;
    }
    requetType = 2;
    requestTask(2);
  }
 @Override
 public void handleRspSuccess(int questType, Object obj) {
   switch (requetType) {
     case 1:
       MSG_TOTAL_TIME = -1;
       JsonParserBase<VerifyCode> jsonParserBase1 = (JsonParserBase<VerifyCode>) obj;
       verifyCode = jsonParserBase1.getObj();
       toasetUtil.showInfo("信息已发送!");
       //				inputCode.setText(verifyCode !=null?verifyCode.getMsgCode():"");
       //
       //	AlertDialogUtils.displayMyAlertChoice(mActivity,"验证码",verifyCode.getMsgCode()+"",null,null);
       break;
     case 2:
       toClassActivity(RegisterFragment.this, LoginActivity.class.getName());
       SmartToast.showText(mActivity, "注册成功");
       mActivity.finish();
       break;
   }
 }