diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index b766bdd8..19f5f0c2 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -153,9 +153,11 @@ class Server curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // 同上 $qrcode_response = curl_exec($ch); curl_close($ch); - $newFile = fopen($savePath, "a"); - fwrite($newFile, $qrcode_response); - fclose($newFile); + dump($qrcode_response); + exit(); +// $newFile = fopen($savePath, "a"); +// fwrite($newFile, $qrcode_response); +// fclose($newFile); return '/wxserve/experience/' . $appid . '.jpg'; } }