|
|
|
@@ -114,7 +114,7 @@ public class TtWebServiceImpl implements TtWebService, RequestHttp<CloseableHttp |
|
|
|
httpPost.setConfig(config); |
|
|
|
} |
|
|
|
StringEntity entity = new StringEntity(WxGsonBuilder.create().toJson(params), Consts.UTF_8); |
|
|
|
entity.setContentType("application/json; charset=utf-8"); |
|
|
|
entity.setContentType("multipart/form-data"); |
|
|
|
httpPost.setEntity(entity); |
|
|
|
try (CloseableHttpResponse response = getRequestHttpClient().execute(httpPost)) { |
|
|
|
String resultContent = new BasicResponseHandler().handleResponse(response); |
|
|
|
|