dever 7 years ago
parent
commit
513f99da41
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tm/lib/Controller/Login.class.php

+ 2 - 0
tm/lib/Controller/Login.class.php

@@ -51,6 +51,8 @@ class Login extends Controller{
         $data = $this->httpGet($url);
         $data = json_decode($data, true);
 
+        print_r($data);die;
+
         if (isset($data['access_token']) && $data['access_token']) {
             $url = 'https://api.weixin.qq.com/sns/userinfo?access_token=' . $data['access_token'] . '&openid=' . $data['openid'] . '&lang=zh_CN';