diff --git a/serverlogic/src/main/java/com/ljsd/jieling/util/http/HttpPool.java b/serverlogic/src/main/java/com/ljsd/jieling/util/http/HttpPool.java index cb6efc624..c8f57aa28 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/util/http/HttpPool.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/util/http/HttpPool.java @@ -105,6 +105,7 @@ public class HttpPool { HttpPost httpPost = new HttpPost(url); List nvps =getFromMap(parms); httpPost.setEntity(new UrlEncodedFormEntity(nvps)); + httpPost.addHeader("Content-Type", "application/json"); CloseableHttpResponse response2 = httpclient.execute(httpPost); try {