544782275@qq.com 3 yıl önce
ebeveyn
işleme
f3b2ba5de9
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      application/api/controller/Login.php

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

@@ -142,7 +142,6 @@ class Login extends Base
         }
         $res = requestGet('https://api.weixin.qq.com/sns/oauth2/access_token?appid='.config('app_program')['app_id'].'&secret='.config('app_program')['secret'].'&code='.$code.'&grant_type=authorization_code');
         $res = json_decode($res,true);
-        var_dump($res);exit();
         $user_info = requestGet('https://api.weixin.qq.com/sns/userinfo?access_token='.$res['access_token'].'&openid='.$res['openid']);
         $user_info = json_decode($user_info,true);
         $data['openid'] = $user_info['openid'];