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';