From 62e057a38cd116d7d2011e26379a897d2d4c4bdb Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Wed, 25 Jun 2025 14:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20?= =?UTF-8?q?=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlyCube/MpApi/Controller/PlaneController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 22dac66..e244e9e 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -357,7 +357,7 @@ class PlaneController extends PublicController } else { $size = 1280; } - $scene = "1&s=" . $data['shop_id'] . "&z=" . $id; + $scene = "s=" . $data['shop_id'] . "&z=" . $id; $qrData['qr'] = $this->getXcxCode($size, $scene, $token); if ($qrData['qr']) { $rsDb->where(array("id" => $id))->save($qrData); @@ -430,7 +430,7 @@ class PlaneController extends PublicController } else { $size = 1280; } - $scene = "1&s=" . $data['shop_id'] . "&z=" . $id; + $scene = "s=" . $data['shop_id'] . "&z=" . $id; $qrData['qr'] = $this->getXcxCode($size, $scene, $token); if ($qrData['qr']) { $rsDb->where($where)->save($qrData); @@ -499,7 +499,7 @@ class PlaneController extends PublicController $path = "pages/index/index"; $url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={$token}"; $data = [ - 'scene' => '1&s=9egr2wqjwy03ddcc&z=20', + 'scene' => $scene, 'page' => $path, 'width' => $size + 0, 'auto_color' => false,