dever 7 年之前
父节点
当前提交
6ba0b4e627
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tm/lib/Controller/Login.class.php

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

@@ -46,6 +46,9 @@ class Login extends Controller{
     }
 
     public function doCallback() {
+        $refer = $this->objMemcached->get($this->refer);
+
+                print_r($refer);die;
         $code = Request::g ( 'code' );
         $url = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid='.$this->appId.'&secret='.$this->appSecret.'&code='.$code.'&grant_type=authorization_code';