Browse Source

//update test

release_toaliyun_real
xhxu 4 years ago
parent
commit
19a7a3ecdb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebServiceImpl.java View File

@@ -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);


Loading…
Cancel
Save