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,