dever 7 vuotta sitten
vanhempi
commit
9695d9ec85
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      component/src/User.php

+ 2 - 2
component/src/User.php

@@ -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) {