public static String executeHttpGet(String url) {
        System.out.println("url:" + url);
        InputStream in = null;
        BufferedReader reader = null;
        String result = null;
        HttpGet request = null;
        try {
            request = new HttpGet(url);
            HttpResponse r = client.execute(request);
            if (r != null && r.getEntity() != null) {
                in = r.getEntity().getContent();
                reader = new BufferedReader(new InputStreamReader(in, "utf-8"));

                if (r.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
                    StringBuilder sb = new StringBuilder();
                    String inputLine;
                    while ((inputLine = reader.readLine()) != null) {
                        sb.append(inputLine);
                    }
                    result = sb.toString();
                }
            } else {
            }
        } catch (Exception e) {
            if (request != null) {
                request.abort();
            }
        } finally {
            try {
                if (in != null) {
                    in.close();
                }
                if (reader != null) {
                    reader.close();
                }
            } catch (Exception e) {
                //Log.e("ApacheHttpClient", "http请求执行错误", e);
            }
        }

        return result;
    }