|
|
@ -38,7 +38,7 @@ class Qrcode extends WxBase |
|
|
|
$url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={$accessToken}"; |
|
|
|
$url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={$accessToken}"; |
|
|
|
// 构建请求 |
|
|
|
// 构建请求 |
|
|
|
$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; |
|
|
|
// 返回结果 |
|
|
|
// 返回结果 |
|
|
|