@Override public void requestHttp() { String netdataurl = HttpUrlConstant.URL_HEAD + HttpUrlConstant.UPLOAD_SYSTEM_ERROR; SystemLog log = logs.get(0); RequestParams params = new RequestParams(); params.put("userid", userid); params.put("message", log.getMessage()); HttpUtil.get(netdataurl, params, this.jsonhand); }
@Override public void requestHttp() { String url = HttpUrlConstant.URL_HEAD + HttpUrlConstant.USER_RECORDS; RequestParams params = new RequestParams(); params.put("starttime", DateUtil.delSpaceDate(starttime)); params.put("endtime", DateUtil.delSpaceDate(endtime)); params.put("userid", userid + ""); HttpUtil.get(url, params, this.jsonhand); }
@Override public void requestHttp() { String url = HttpUrlConstant.URL_HEAD + HttpUrlConstant.URL_BATCHINFO; RequestParams params = new RequestParams(); if (id != null) { params.put("batchid", id); } else params.put("batchcode", code); HttpUtil.get(url, params, this.jsonhand); }