作者 anyv
1 个管道 的构建 通过 耗费 0 秒

8

... ... @@ -232,7 +232,7 @@ class SalesmangoodsController extends WeChatBaseController{
$access_token = $access_token['accessToken'];
$ch = curl_init("http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=$access_token&media_id=$filepath");
cache('ppp',111);
$fp = fopen($targetName, 'wb');
$fp = fopen($targetName, 'w');
cache('oop',111);
curl_setopt($ch, CURLOPT_FILE, $fp);
cache('iip',111);
... ...