通过json发送 private String sendPostByJson(String url, Map<String, Object> params, Map<String, String> headers) { CloseableHttpClient httpclient = httpClient.getHttpClient(); HttpPost post = new HttpPost(url); if (params != null && !params.isEmpty()) {