diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 7eb36a5..0fe047a 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=" . $_REQUEST['shop_id'] . "&z=" . $id; + $scene = "a=" . $id . "s=" . $_REQUEST['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=" . $_REQUEST['shop_id'] . "&z=" . $id; + $scene = "a=" . $id . "s=" . $_REQUEST['shop_id'] . "&z=" . $id; $qrData['qr'] = $this->getXcxCode($size, $scene, $token); if ($qrData['qr']) { $rsDb->where($where)->save($qrData);