二维码B接口无法跳转 指定页面
$qrcodeUrl = “https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={$accessToken}”;
$postData = [
‘scene’ => “$lock_id”,
‘path’ => ‘pages/unlock/unlock’,
‘width’ => 100,
];
$postData = json_encode($postData);
$streamQrcode = $this->curl->simple_post($qrcodeUrl, $postData);
生成的二维码无法跳转到指定path页面