public String initDate() {
   String userCode = GetString.userInfo.getUserCode();
   Map<String, Object> map = new HashMap<String, Object>();
   map.put("userCode", userCode);
   map.put("amount", money);
   map.put("mobile", phone);
   String str = JsonUtils.toJsonStr(map);
   return str;
 }
        @Override
        public void handleMessage(Message msg) {
          try {
            String strRet = (String) msg.obj;

            switch (msg.what) {
              case AlixId.RQF_PAY:
                {
                  //
                  closeProgress();

                  try {

                    JSONObject objContent = BaseHelper.string2JSON(strRet, ";");
                    String retVal = objContent.getString("resultStatus");

                    String result = objContent.getString("result");
                    result = result.substring(1, result.length() - 1);
                    if (!retVal.equals("{9000}")) {
                      String memo = objContent.getString("memo");
                      memo = memo.replace("\"", "");
                      memo = memo.substring(1, memo.length() - 1);
                      if (!TextUtils.isEmpty(memo)) {
                        BaseHelper.showDialog((Activity) context, "提示", memo, R.drawable.infoicon);
                        //							}else{
                        //								BaseHelper.showDialog((Activity)context, "提示",
                        // context.getResources().getString(R.string.check_sign_failed_login),
                        // android.R.drawable.ic_dialog_alert);
                      }
                    } else if (!TextUtils.isEmpty(result)) {
                      // 登录成功
                      GetString.isAccountNeedRefresh = true;
                      JSONObject objResult = BaseHelper.string2JSON(result, "&");
                      String alipayUserId = objResult.getString("alipay_user_id");
                      String authCode = objResult.getString("auth_code");
                      alipayUserId = alipayUserId.replace("\"", "");
                      authCode = authCode.replace("\"", "");

                      Map<String, Object> map = new HashMap<String, Object>();
                      map.put("unType", "ZFB");
                      map.put("unUserID", alipayUserId);
                      map.put("accessToken", authCode);

                      onLogin.onLogin(JsonUtils.toJsonStr(map));
                      //							new Handler().postDelayed(new Runnable() {
                      //								public void run() {
                      //									try {
                      ////										getUser();
                      //										if (Settings.DEBUG)
                      //											Log.d(Settings.TAG, "Prepaid phone success!!!!!");
                      //									} catch (Exception e) {
                      //
                      //									}
                      //								}
                      //							}, 3 * 1000);
                    }

                  } catch (Exception e) {
                    e.printStackTrace();
                    if (strRet.contains("操作已经取消")) {
                      BaseHelper.showDialog(
                          (Activity) context, "提示", "操作已经取消", R.drawable.infoicon);
                    }
                  }
                }
                break;
            }
            super.handleMessage(msg);
          } catch (Exception e) {
            e.printStackTrace();
          }
        }