Skip to content

Commit

Permalink
[更新]修改post文件上传
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli authored Apr 19, 2017
1 parent bb509f1 commit 38f86a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Wechat/Lib/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ static public function httpPost($url, $data) {
$value = new CURLFile(realpath(trim($value, '@')));
}
}
$data = http_build_query($data);
}
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$data = curl_exec($ch);
Expand Down

0 comments on commit 38f86a4

Please sign in to comment.