Skip to content

Commit 38f86a4

Browse files
authored
[更新]修改post文件上传
1 parent bb509f1 commit 38f86a4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Wechat/Lib/Tools.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ static public function httpPost($url, $data) {
153153
$value = new CURLFile(realpath(trim($value, '@')));
154154
}
155155
}
156-
$data = http_build_query($data);
157156
}
158157
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
159158
$data = curl_exec($ch);

0 commit comments

Comments
 (0)