...
|
...
|
@@ -41,7 +41,9 @@ class Login extends Base |
|
|
}else{
|
|
|
//查询到openid 通过openid查询到用户
|
|
|
$user=Db::name("user")->where('wx_xcx_openid',"o5ABA4yWDTLRTf3LkBMMHoV7XOvQ")->find();
|
|
|
print_r($res['openid']);return;
|
|
|
print_r($user);
|
|
|
print_r($res['openid']);
|
|
|
return;
|
|
|
|
|
|
if($user){
|
|
|
$res=$this->auth->direct($user['id']);
|
...
|
...
|
|