// 1.注册 2.重置密码 3.修改密码 4.手机号绑定
  public static RequestParam getVcodePara(String mobile) {
    HttpURL url = new HttpURL();
    url.setmBaseUrl(URLConstants.GETMSGCODE);

    Map postParams = new HashMap();
    postParams.put("phone", mobile);
    RequestParam param = new RequestParam();

    param.setmPostMap(postParams);
    param.setmHttpURL(url);
    param.setPostRequestMethod();
    return param;
  }
  @Override
  public void requestData(int reuestType) {
    RequestParam param = new RequestParam();
    HttpURL url = new HttpURL();
    Map postParams = new HashMap();

    switch (requetType) {
      case 1:
        url.setmBaseUrl(URLConstants.MSGCODE);
        postParams.put("phone", phone);
        param.setmParserClassName(VerifyCodeParse.class.getName());
        break;
      case 2: // 注册
        url.setmBaseUrl(URLConstants.REGIST);
        //				postParams.put("code",inputCode.getText().toString());

        postParams.put("phone", register_phone.getText().toString());
        postParams.put("pwd", register_pass.getText().toString());
        postParams.put(
            "city",
            BaseApplication.getInstance().mapLocation != null
                ? (TextUtils.isEmpty(BaseApplication.getInstance().mapLocation.getCity())
                    ? BaseApplication.getInstance().location[0]
                    : BaseApplication.getInstance().mapLocation.getCity())
                : BaseApplication.getInstance().location[0]);
        param.setmParserClassName(BaseParse.class.getName());
        break;
    }
    param.setmPostMap(postParams);
    param.setmHttpURL(url);
    param.setPostRequestMethod();
    RequestManager.getRequestData(
        getActivity(), createReqSuccessListener(), createMyReqErrorListener(), param);
  }