/**
   * 请求修改身份信息
   *
   * @return
   */
  private List<ProtocolData> getRequestDatas() {
    CommonData data = new CommonData();
    //		data.putValue("authorid", LoginUtil.mLoginStatus.authorid);
    data.putValue("paytype", mType);

    List<ProtocolData> mDatas =
        ProtocolUtil.getRequestDatas("ApiPayinfo", "readshoucardList", data);

    return mDatas;
  }
示例#2
0
  @Override
  protected Boolean doInBackground(String... params) {
    // TODO Auto-generated method stub
    try {
      //			String phonenumber=PreferenceConfig.instance(activity).getString(Constants.USER_NAME,
      // "");
      CommonData mData = new CommonData();
      mData.putValue("phonenumber", phonenumber);

      List<ProtocolData> mDatas =
          ProtocolUtil.getRequestDatas("ApiSafeGuard", "validateUser", mData);
      PwdSafetyValidateUserParser pwdSafetyValidateUserParser = new PwdSafetyValidateUserParser();
      mRsp = HttpUtil.doRequest(pwdSafetyValidateUserParser, mDatas);
    } catch (Exception e) {
      // TODO: handle exception
      e.printStackTrace();
      mRsp = null;
    }

    return null;
  }