@Override
  void httpSuccess(String reponse) {
    // TODO Auto-generated method stub
    try {
      // ======================根据协议本地测试数据================================
      // reponse =
      // ========================联调接口时注释就可以============================
      Tools.getLog(Tools.i, "bbb", "reponse = " + reponse);
      JSONObject result = new JSONObject(reponse);
      String retcode = result.getString("statusCode");

      Tools.getLog(Tools.i, "bbb", "retcode = " + retcode);
      Tools.getLog(Tools.i, "bbb", "getJOSNdataSuccessgetJOSNdataSuccess");
      if (Contanst.HTTP_SUCCESS.equals(retcode)) { // 成功获取数据
        //				String str = result.getString("message");
        ArrayList<ChatGroupJoinBean> list = new ArrayList<ChatGroupJoinBean>();
        JSONArray message = result.getJSONArray("message");
        for (int j = 0; j < message.length(); j++) {
          String str = message.getString(j);
          Gson gson = new Gson();
          ChatGroupJoinBean bean = gson.fromJson(str, ChatGroupJoinBean.class);
          list.add(bean);
        }
        serviceListener.getJOSNdataSuccess(list, retcode, Contanst.USER_GETALLCHATGROUP);
      } else {
        String errmsg = (String) result.get("message");
        serviceListener.getJOSNdataFail(
            erroCodeParse(retcode), errmsg, Contanst.USER_GETALLCHATGROUP);
      }
    } catch (JSONException e) {
      serviceListener.getJOSNdataFail("", "服务器异常", Contanst.USER_GETALLCHATGROUP);
      e.printStackTrace();
    }
  }
 @Override
 void httpSuccess(String reponse) {
   // TODO Auto-generated method stub
   try {
     // ======================根据协议本地测试数据================================
     // reponse =
     // ========================联调接口时注释就可以============================
     Tools.getLog(Tools.i, "bbb", "reponse = " + reponse);
     JSONObject result = new JSONObject(reponse);
     String retcode = result.getString("statusCode");
     Tools.getLog(Tools.i, "bbb", "retcode = " + retcode);
     Tools.getLog(Tools.i, "bbb", "getJOSNdataSuccessgetJOSNdataSuccess");
     if (Contanst.HTTP_SUCCESS.equals(retcode)) { // 成功获取数据
       LastTwoJobBean jobBean = new LastTwoJobBean();
       //				ArrayList<LastThree> list = new ArrayList<LastThree>();
       //				JSONObject message = result.getJSONObject("message");
       //				JSONArray jobs = message.getJSONArray("jobs");
       //				for(int j = 0; j < message.length(); j++){
       //					String str = jobs.getString(j);
       //					Gson gson = new Gson();
       //					LastThree bean = gson.fromJson(str, LastThree.class);
       //					list.add(bean);
       //				}
       //				jobBean.setLastThrees(list);
       String message = result.getString("message");
       Gson gson = new Gson();
       jobBean = gson.fromJson(message, LastTwoJobBean.class);
       serviceListener.getJOSNdataSuccess(jobBean, retcode, Contanst.GETLASTTHREE);
     } else {
       String errmsg = (String) result.get("message");
       serviceListener.getJOSNdataFail(erroCodeParse(retcode), errmsg, Contanst.GETLASTTHREE);
     }
   } catch (JSONException e) {
     serviceListener.getJOSNdataFail("", "服务器异常", Contanst.GETLASTTHREE);
     e.printStackTrace();
   }
 }