Commit c2d4e9fc by 冷斌

fix bug

parent 29907264
......@@ -49,6 +49,9 @@ class PassportAction extends CommonAction
public function wxLogin($openid)
{
$uid = M('user_openid')->where(['open_id' => $openid, 'type' => 1])->getField('uid');
if (!$uid) {
return;
}
var_dump($uid);
die;
}
......
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