wupengfei 2 tahun lalu
induk
melakukan
f4fbb39511
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      application/api/controller/Login.php

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

@@ -28,6 +28,7 @@ class Login extends Base
         $app = Factory::miniProgram(config('app.mini_program'));
         $data = $app->auth->session($code);
         if(empty($data['openid'])) $this->error($data['errmsg']);
+        var_dump($data);
         $member = Db::name('store_member')->field('id,phone')->where('openid',$data['openid'])->find();
         if(empty($member)){
             $member_data = [