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