作者 Administrator

网页授权

... ... @@ -231,7 +231,10 @@ class Auth
//直接登录会员
$this->direct($user->id);
if (!$user->open_id && $open_id = session("open_id")){
$user->open_id = $open_id;
$user->save();
}
return true;
}
... ...