Commit c2d4e9fc by 冷斌

fix bug

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