From b55cb5bfc3379c8d98592ed5d8a3be74a60da713 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:51:36 +0800 Subject: [PATCH] 1 --- app/common/library/wxserver/Server.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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'; } }