王新凯 3 lat temu
rodzic
commit
c6bcf267ec
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      application/api/controller/Login.php

+ 1 - 0
application/api/controller/Login.php

@@ -143,6 +143,7 @@ class Login extends Api
         }
         $data=$app->auth->session($code);
 
+        dump($data);die();
         $user=Db::table('q_user')->where('openid',$data['openid'])->find();
         if(empty($user)){
             $id=Db::table('q_user')->insertGetId(['openid'=>$data['openid'],'session_key'=>$data['session_key']]);