正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -41,6 +41,7 @@ class Login extends Base | @@ -41,6 +41,7 @@ class Login extends Base | ||
41 | }else{ | 41 | }else{ |
42 | //查询到openid 通过openid查询到用户 | 42 | //查询到openid 通过openid查询到用户 |
43 | $user=Db::name("user")->where('wx_xcx_openid',$res['openid'])->find(); | 43 | $user=Db::name("user")->where('wx_xcx_openid',$res['openid'])->find(); |
44 | + print_r($user);return; | ||
44 | if($user){ | 45 | if($user){ |
45 | //查询到了用户信息 | 46 | //查询到了用户信息 |
46 | $this->bind($user['id'],$user['moblie']); | 47 | $this->bind($user['id'],$user['moblie']); |
-
请 注册 或 登录 后发表评论