wanghousheng 11 months ago
parent 6eddbf732c
commit 5dd2fdc3a8
  1. 2
      app/common/library/wechat/Qrcode.php
  2. 2
      app/common/service/qrcode/InviteUser.php

@ -39,7 +39,7 @@ class Qrcode extends WxBase
// 构建请求 // 构建请求
$data = compact('scene', 'width'); $data = compact('scene', 'width');
$data['env_version'] = 'trial'; $data['env_version'] = 'trial';
// $data['check_path'] = false; //$data['check_path'] = false;
!is_null($page) && $data['page'] = $page; !is_null($page) && $data['page'] = $page;
// 返回结果 // 返回结果
$result = $this->post($url, helper::jsonEncode($data)); $result = $this->post($url, helper::jsonEncode($data));

@ -56,7 +56,7 @@ class InviteUser extends BaseQRcode
// 小程序码参数 // 小程序码参数
$scene = "refereeId:" . ($this->userInfo['user_id'] ?: ''); $scene = "refereeId:" . ($this->userInfo['user_id'] ?: '');
// 下载小程序码 // 下载小程序码
$page = 'pages/login/index'; $page = 'pages/index/index';
$qrcode = $this->getQrcode($storeId, $scene, $page, $this->channel); $qrcode = $this->getQrcode($storeId, $scene, $page, $this->channel);
// 拼接海报图 // 拼接海报图
return $this->savePoster($backdrop, $qrcode); return $this->savePoster($backdrop, $qrcode);

Loading…
Cancel
Save