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