Explorar el Código

//update test

release_toaliyun_real
xhxu hace 4 años
padre
commit
19a7a3ecdb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar