|
@@ -18,7 +18,7 @@ class User
|
|
|
$wechat = new Wechat($info['project_id'], 'component');
|
|
|
$oauth['oauth'] = $oauth['id'];
|
|
|
$oauth['path'] = 'pages/index/index';
|
|
|
- $param = $wechat->param('applet_qrcode', $oauth);
|
|
|
+ $param = $wechat->param('applet_qrcode', $oauth, false);
|
|
|
$url = $param['url'];
|
|
|
$html['LOGO'] = '<img src="'.$info['pic'].'" width="150" />';
|
|
|
$html['正式版'] = '<img src="'.$info['qrcode'].'" width="150" />';
|
|
@@ -40,7 +40,7 @@ class User
|
|
|
$wechat = new Wechat($info['project_id'], 'component');
|
|
|
$oauth['oauth'] = $oauth['id'];
|
|
|
$oauth['path'] = 'pages/index/index';
|
|
|
- $param = $wechat->param('applet_qrcode', $oauth);
|
|
|
+ $param = $wechat->param('applet_qrcode', $oauth, false);
|
|
|
$url = $param['url'];
|
|
|
$html['返回信息'] = $version['result'];
|
|
|
if ($url) {
|