wang hou sheng 8 months ago
parent 4b35018554
commit b55cb5bfc3
  1. 8
      app/common/library/wxserver/Server.php

@ -153,9 +153,11 @@ class Server
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // 同上 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // 同上
$qrcode_response = curl_exec($ch); $qrcode_response = curl_exec($ch);
curl_close($ch); curl_close($ch);
$newFile = fopen($savePath, "a"); dump($qrcode_response);
fwrite($newFile, $qrcode_response); exit();
fclose($newFile); // $newFile = fopen($savePath, "a");
// fwrite($newFile, $qrcode_response);
// fclose($newFile);
return '/wxserve/experience/' . $appid . '.jpg'; return '/wxserve/experience/' . $appid . '.jpg';
} }
} }

Loading…
Cancel
Save