【类 型】:

【原  因】:
【过  程】:
【影  响】:
This commit is contained in:
air 2025-06-25 17:04:30 +08:00
parent 9585815992
commit 2d7d503d5b

View File

@ -358,7 +358,6 @@ class PlaneController extends PublicController
$size = 1280;
}
$scene = trim("s=" . $_REQUEST['shop_id'] . "&z=" . $id);
$scene = urlencode($scene);
$qrData['qr'] = $this->getXcxCode($size, $scene, $token);
if ($qrData['qr']) {
$rsDb->where(array("id" => $id))->save($qrData);
@ -432,7 +431,6 @@ class PlaneController extends PublicController
$size = 1280;
}
$scene = trim("s=" . $_REQUEST['shop_id'] . "&z=" . $id);
$scene = urlencode($scene);
$qrData['qr'] = $this->getXcxCode($size, $scene, $token);
if ($qrData['qr']) {
$rsDb->where($where)->save($qrData);
@ -506,7 +504,7 @@ class PlaneController extends PublicController
'width' => $size + 0,
'auto_color' => false,
];
$data = json_encode($data);
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
//拿到二维码
$result = $this->apiUrl($url, $data);