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