diff --git a/app/common/library/wechat/Qrcode.php b/app/common/library/wechat/Qrcode.php index 00fc1d7d..b6a1bb81 100644 --- a/app/common/library/wechat/Qrcode.php +++ b/app/common/library/wechat/Qrcode.php @@ -39,7 +39,7 @@ class Qrcode extends WxBase // 构建请求 $data = compact('scene', 'width'); //$data['env_version'] = 'trial'; - $data['check_path'] = false; + $data['check_path'] = true; !is_null($page) && $data['page'] = $page; // 返回结果 $result = $this->post($url, helper::jsonEncode($data));