소스 검색

修复调用【上传临时素材文件】接口返回 44001 多媒体文件为空的问题 #209

master
Binary Wang 8 년 전
부모
커밋
ac257dd31c
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. +0
    -1
      weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/apache/ApacheMediaUploadRequestExecutor.java

+ 0
- 1
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/apache/ApacheMediaUploadRequestExecutor.java 파일 보기

@@ -40,7 +40,6 @@ public class ApacheMediaUploadRequestExecutor extends MediaUploadRequestExecutor
.setMode(HttpMultipartMode.RFC6532)
.build();
httpPost.setEntity(entity);
httpPost.setHeader("Content-Type", ContentType.MULTIPART_FORM_DATA.toString());
}
try (CloseableHttpResponse response = requestHttp.getRequestHttpClient().execute(httpPost)) {
String responseContent = Utf8ResponseHandler.INSTANCE.handleResponse(response);


불러오는 중...
취소
저장