Commit 30c39096 by 冷斌

fix bug

parent 35112bb1
......@@ -80,7 +80,7 @@ class PassportAction extends CommonAction
}
// 微信登录
$reurl2 = '';
$openid = '';
$ua = $_SERVER['HTTP_USER_AGENT'];
if (strpos($ua, 'MicroMessenger') == false && strpos($ua, 'Windows Phone') == false) {
......@@ -93,12 +93,12 @@ class PassportAction extends CommonAction
header("Location:{$reurl2}");
exit();
}else {
var_dump($_GET);
var_dump($_GET['code']);
die;
}
}
$this->assign('wxUrl', $reurl2);
$this->assign('openid', $openid);
// $this->assign('login_bg', $login_bg);
$this->assign('this_mhm_id', $this_mhm_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment