作者 郭文星

123

@@ -282,7 +282,7 @@ class Car extends Backend @@ -282,7 +282,7 @@ class Car extends Backend
282 } 282 }
283 283
284 function createMiniProgramQRCode($accessToken, $path, $width = 430) { 284 function createMiniProgramQRCode($accessToken, $path, $width = 430) {
285 - $path = 'pages/module/intercityOrder?'.$path; // 小程序内的页面路径 285 + $path = 'pages/module/intercityOrder?url='.$path; // 小程序内的页面路径
286 $url = "https://api.weixin.qq.com/wxa/getwxacode?access_token={$accessToken}"; 286 $url = "https://api.weixin.qq.com/wxa/getwxacode?access_token={$accessToken}";
287 $data = json_encode([ 287 $data = json_encode([
288 'path' => $path, 288 'path' => $path,