public void requestPass() { context.TAG_NO_FIRST_REQUEST = "tag_request_pass"; final IdentifyLicense entity = context.task_detail_entity.getLicense().getIdentifyLicense(); HashMap<String, String> hashMap = new HashMap<String, String>(); hashMap.put("car_id", context.task_detail_entity.getCarId()); hashMap.put( "fill_name", ((EditText) identity_card_verify_view.findViewById(R.id.et_name)) .getText() .toString() .trim()); hashMap.put( "card_id", ((EditText) identity_card_verify_view.findViewById(R.id.et_identity_card_num)) .getText() .toString() .trim()); hashMap.put("certificate_end_time", entity.getDeadLine()); hashMap.put("city", entity.getProvince()); hashMap.put("area", entity.getCity()); hashMap.put("audit", "1"); new CCHttpEngine( context, NetConstants.NET_ID_IDENTITY_CARD_INFO_PASS_SAVE, hashMap, context.TAG_NO_FIRST_REQUEST, new HttpCallBack() { public void onSuccess(ResponseBean responseBean) { if (responseBean.getCode() == 0) { ToastUtils.showToast("审核通过"); identity_card_verify_view .findViewById(R.id.tv_reject_reason) .setVisibility(View.GONE); entity.setUsername( ((EditText) identity_card_verify_view.findViewById(R.id.et_name)) .getText() .toString() .trim()); entity.setCardNumber( ((EditText) identity_card_verify_view.findViewById(R.id.et_identity_card_num)) .getText() .toString() .trim()); context.task_detail_entity.getLicense().getIdentifyLicense().setStatus("2"); context.initCardsCheckStatus(); context.initRedCircle(); } else { ToastUtils.showToast(responseBean.getMessage()); } } @Override public void onNetUnavailable(String net_unAvailabel) { ToastUtils.showToast(R.string.net_unavailable); } @Override public void onFailure(IOException e) { ToastUtils.showToast(R.string.net_fail); } }) .executeTask(); }