...
|
...
|
@@ -43,6 +43,7 @@ class Login extends Base |
|
|
//查询到openid 通过openid查询到用户
|
|
|
$user=Db::name("user")->where('wx_xcx_openid',$res['openid'])->find();
|
|
|
if($user){
|
|
|
print_r($res);return;
|
|
|
$res=$this->auth->direct($res['id']);
|
|
|
$return_data = $this->auth->getUserinfo();
|
|
|
//查询到了用户信息
|
...
|
...
|
|