public String submitFirstIDAuthen(
     String api,
     String name,
     String work,
     String citizenno,
     String bankcardno,
     String banktype,
     String bankarea,
     String photo_data) {
   String returnString = null;
   Map<String, String> textMap = new HashMap<String, String>();
   Map<String, File> imageMap = new HashMap<String, File>();
   textMap.put("token", Constants.TOKEN);
   textMap.put("name", name);
   textMap.put("citizenno", citizenno);
   textMap.put("bankcardno", bankcardno);
   textMap.put("banktype", banktype);
   textMap.put("bankarea", bankarea);
   imageMap.put("photo_data", new File(photo_data));
   textMap.put("role", work);
   try {
     returnString =
         HttpUtils.uploadTextAndFile(URLEntity.getInstance().getURL(api), textMap, imageMap);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return returnString;
 }
 /**
  * 忘记密码重置 的访问
  *
  * @author 张岩
  * @date 2013-10-12 下午2:53:46
  * @param uid 用户手机号
  * @param verifycode 短信验证码
  * @param citizenno 身份证号码
  * @param pwd MD5密码 ret OK,UID_ERROR,VERIFYCODE_ERROR,CITIZENNO_ERROR,SYS_ERROR
  */
 public String forgetPwd(String uid, String verifycode, String citizenno, String pwd) {
   String url = URLEntity.getInstance().getURL(ConstantsNetworkUrl.API_PWD_RESET);
   HttpUtils httpUtils = new HttpUtils();
   List<NameValuePair> pairs = new ArrayList<NameValuePair>();
   pairs.add(new BasicNameValuePair("uid", uid));
   pairs.add(new BasicNameValuePair("verifycode", verifycode));
   pairs.add(new BasicNameValuePair("pwd", pwd));
   if (citizenno != null && citizenno.length() >= 15) {
     pairs.add(new BasicNameValuePair("citizenno", citizenno));
   }
   String ret = null;
   try {
     String result = httpUtils.httpClientPost(url, pairs);
     JSONObject object = new JSONObject(result);
     ret = object.optString("ret");
   } catch (Exception e) {
     //			LogUtils.i(TAG, "forgetPwd-->" + e.getMessage());
   }
   return ret;
 }