@Override protected void onPostExecute(String result) { FastPayReturn returnBean = new GsonBuilder().create().fromJson(result, FastPayReturn.class); if ("T".equals(returnBean.getResult())) { TXWLProgressDialog.Dismiss(); TXWLApplication.getInstance().showTextToast("解绑成功"); } else { TXWLProgressDialog.Dismiss(); // TXWLApplication.getInstance().showTextToast("解绑失败,重新进入"); // // TXWLApplication.getInstance().showTextToast(returnBean.getError_message()); Log.d("mobileFast_error---->", returnBean.getError_message()); } }
@Override protected void onPostExecute(String[] result) { if ("T".equals(result[0])) { encrypt_key = result[1]; Log.d("encrypt_key---->", "时间戳:" + encrypt_key); new BeiFuPayHttpPost() .execute(billno, token, et_vericode.getText().toString(), cz_money, encrypt_key); } else { TXWLProgressDialog.Dismiss(); TXWLApplication.getInstance().showTextToast(result[1]); } }