|
|
|
@ -60,7 +60,7 @@ public class UploadWeChatMediaUtil { |
|
|
|
httppost.setEntity(reqEntity); |
|
|
|
httppost.setEntity(reqEntity); |
|
|
|
CloseableHttpResponse response = httpclient.execute(httppost); |
|
|
|
CloseableHttpResponse response = httpclient.execute(httppost); |
|
|
|
try { |
|
|
|
try { |
|
|
|
log.info(response.getStatusLine()); |
|
|
|
log.info(String.valueOf(response.getStatusLine())); |
|
|
|
HttpEntity resEntity = response.getEntity(); |
|
|
|
HttpEntity resEntity = response.getEntity(); |
|
|
|
if (resEntity != null) { |
|
|
|
if (resEntity != null) { |
|
|
|
String responseEntityStr = EntityUtils.toString(response.getEntity()); |
|
|
|
String responseEntityStr = EntityUtils.toString(response.getEntity()); |
|
|
|
|