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