|
|
|
@@ -116,6 +116,7 @@ public class TtWebServiceImpl implements TtWebService, RequestHttp<CloseableHttp |
|
|
|
httpPost.setHeader("Content-Type","multipart/form-data"); |
|
|
|
log.info("------------"+WxGsonBuilder.create().toJson(params)); |
|
|
|
StringEntity entity = new StringEntity(WxGsonBuilder.create().toJson(params), Consts.UTF_8); |
|
|
|
entity.setContentType("application/json; charset=utf-8"); |
|
|
|
httpPost.setEntity(entity); |
|
|
|
|
|
|
|
try (CloseableHttpResponse response = getRequestHttpClient().execute(httpPost)) { |
|
|
|
|